|Title:||Execution via Prebuildstep failed|
|Last Modified:||2013-04-04 09:24:03|
|Version Found In:||22.214.171.124|
anonymous added on 2013-03-27 14:08:55:
We are using SQLite via Powershell and call "New-Object System.Data.SQLite.SQLiteConnection($connStr)" with $connStr beeing path and New=true. This works fine when you call that Powershell Script via a Commandfile from the Fileexplorer. But when calling the same command file from the VS2010 Prebuildstep window, we get an Exception in the .ctor that says its the wrong database format. Loaded Database file and powershell script are the same. everything identical.
mistachkin added on 2013-03-28 00:39:29:
Are you using the 64-bit version of the SQLite.Interop.dll? That would cause a BadImageFormatException (i.e. from inside of Visual Studio) because Visual Studio is a 32-bit native application.
mistachkin added on 2013-03-29 22:34:02:
If additional information is not provided on this ticket, it will be closed on Monday, April 1st 2012.