Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/sqlite/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在执行任务MSBUILD中执行sqlite(sqlite3)语句?_Sqlite_Msbuild - Fatal编程技术网

如何在执行任务MSBUILD中执行sqlite(sqlite3)语句?

如何在执行任务MSBUILD中执行sqlite(sqlite3)语句?,sqlite,msbuild,Sqlite,Msbuild,在构建应用程序之后,我正在尝试在sqlite数据库上运行一些查询 我试过了 <Exec Command='sqlite3 "@(DeployedSqliteDbPath) DELETE FROM BatchConfig";'/> 及 但它似乎不起作用。有人能帮忙吗?这很有效 <Exec Command='sqlite3 "@(DeployedSqliteDbPath)" "DELETE FROM BatchConfig;"'/> 另请参见 <Exec

在构建应用程序之后,我正在尝试在sqlite数据库上运行一些查询

我试过了

<Exec Command='sqlite3 "@(DeployedSqliteDbPath) DELETE FROM BatchConfig";'/>


但它似乎不起作用。有人能帮忙吗?

这很有效

<Exec Command='sqlite3 "@(DeployedSqliteDbPath)" "DELETE FROM BatchConfig;"'/>

另请参见
<Exec Command='sqlite3 "@(DeployedSqliteDbPath)" "DELETE FROM BatchConfig;"'/>