I have a WPF project in visual studio 2010 and when I add the references to the SQL and Linq dlls, the designer of the xml give an error and I do not view the controls in the window designer.
The error is the following:
System.BadImageFormatException
No se puede cargar el archivo o ensamblado 'System.Data.SQLite, Version=1.0.79.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139' ni una de sus dependencias. Se ha intentado cargar un programa con un formato incorrecto.
I have installed sqlite-netFx40-setup-bundle-x86-2010-1.0.79.0 in my windows XP, and in the installation, I check to install the dlls in the GAC.
If I delete the references to the dlls and generate the solution again, again I can edit the window in the designer.
Thanks.
<hr /><i>mistachkin added on 2012-01-29 16:45:15 UTC:</i><br />
<a href="/index.html/doc/trunk/www/faq.wiki#q12">Why do I get a BadImageFormatException (for "sqlite3.dll" or "SQLite.Interop.dll") when trying to run my application?</a>
|