System.Data.SQLite

Login
This project makes use of Eagle, provided by Mistachkin Systems.
Eagle: Secure Software Automation

Artifact f83758bc2f5844367b9fc4ea00fcaddb2b1dcdf4:

Ticket change [f83758bc2f] - New ticket [5a35f3a26a] BadImageFormatException with SDK style .Net Framwork project. by anonymous 2019-11-04 14:36:55.
D 2019-11-04T14:36:55.323
J foundin 1.0.112
J icomment When\susing\sSystem.Data.SQLite\sin\sa\s.Net\sFramework\sproject\susing\sthe\snew\sSDK\s*.csproj\sfile\sformat\sa\sBadImageFormatException\sis\striggered\swhen\sopening\sa\sdatabase\sconnection.\r\n\r\nBuild\senvironment\r\n-----------------\r\n*\sVisual\sStudio\s2019\s(16.3.7)\r\n*\sSDK\sstyle\s*.csproj,\sTargetFramework\s"net472"\r\n\r\nA\sminimal\sexample\sproject\swill\sbe\sattached.\r\n\r\nWith\s.Net\sFramework\sprojects\sthe\snative\sinterop\sfiles\sare\splaced\sin\sx86\sand\sx64\ssubfolders\sin\sthe\sbuild\soutput\sdirectory,\senabling\sSQLite\sto\swork\swhen\scalled\sfrom\sboth\s32\sbit\sand\s64\sbit\sapplications.\r\n\r\nWhen\sthe\snew\sSDK\sstyle\s*.csproj\sformat\sis\sused\sfor\sa\s.Net\sFramwork\sproject,\sa\ssingle\s*additional*\sinterop\sis\scopied:\r\nDuring\sbuild\sthe\starget\s"_CopyFilesMarkedCopyLocal"\s(verbose\sbuild\soutput\sneeded\sin\sVisual\sStudio\sto\ssee\sthis)\sthe\sfile\s"system.data.sqlite.core\\1.0.112\\runtimes\\win-x86\\native\\netstandard2.0\\SQLite.Interop.dll"\sis\scopied\sdirectly\sin\sthe\s"\\bin\\Debug\\net472"\soutput\sfolder.\sThis\sfile\sseems\sto\shave\sprecedence\sover\sthose\sin\sthe\sx86\sand\sx64\ssubfolders,\striggering\sa\sBadImageFormatException\swhen\sthe\sapplication\sis\sstarted\sin\s64bit\smode.\r\n\r\nWhen\sthis\sadditional\sinterop\sfile\sis\sdeleted\sfrom\sthe\soutput\sdirectory\safter\sthe\sbuild,\sthe\sapplication\scan\sbe\sused\swithout\striggering\sthe\sexception\s(no\sproblem\sfor\sdeploy,\sbut\sunpractical\swhen\sdebugging\sin\sVS).\r\n\r\nThe\sproblem\sdoes\snot\sexist\swith\sthe\slegacy\sformat\sfor\s.Net\sFramework\sprojects,\sor\swith\sthe\snew\sformat\sfor\s.Net\sCore\sprojects.\r\n\r\nI\sam\saware\sthat\scurrently\sonly\slegacy\s*.csproj\sfiles\sare\sofficially\ssupported.\sTherefore\sI\sam\smarking\sthis\sas\s"Minor".\sSee\salso\sa\sprevious\sissue\sI\shad\swith\sa\ssimilar\ssetup:\s[b2c278db3884e37e]
J login anonymous
J mimetype text/x-fossil-plain
J private_contact 85538d0325fff4d733bd2a239f2a74e2b0a2f841
J severity Minor
J status Open
J title BadImageFormatException\swith\sSDK\sstyle\s.Net\sFramwork\sproject
J type Packaging
K 5a35f3a26aea5204a768705816715f730efb8fd5
U anonymous
Z 48e317abf4f6b21ce0c66e7715e8fa39