vendredi 24 avril 2015

How can i execute sqlite (sqlite3) statements in MSBUILD, the Exec Task?

I am trying to run some queries on my sqlite database after building my application.

I have tried;

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

and

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

But it doesn't seem to work. Can someone help?

Aucun commentaire:

Enregistrer un commentaire