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



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

我试过了;

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

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

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

这奏效了;

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

相关内容

最新更新