System.Data.SQLite
View Ticket
Not logged in
Ticket UUID: a60b41450f03c535672b2a20d47695b49c63ac83
Title: Execution via Prebuildstep failed
Status: Closed Type: Incident
Severity: Important Priority: Medium
Subsystem: Connection Resolution: Not_A_Bug
Last Modified: 2013-04-04 09:24:03
Version Found In: 1.0.84.0
User Comments:
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.