SQLite: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 18: | Line 18: | ||
</source> | </source> | ||
otherwise you will get an exception: '''Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.''' | otherwise you will get an exception: '''Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.''' | ||
[http://msdn.microsoft.com/en-us/library/bbx34a2h(VS.100).aspx | [http://msdn.microsoft.com/en-us/library/bbx34a2h(VS.100).aspx Explanation from Microsoft] and another explanation can be found [http://www.marklio.com/marklio/PermaLink,guid,ecc34c3c-be44-4422-86b7-900900e451f9.aspx here]. | ||
* [http://www.exendo.se/articles/software-development-tools-for-simple-local-file-versioning/the-best-database-for-desktop-applications The best database for desktop applications - Exendo - Articles on software development] | * [http://www.exendo.se/articles/software-development-tools-for-simple-local-file-versioning/the-best-database-for-desktop-applications The best database for desktop applications - Exendo - Articles on software development] | ||
<google>ENGELSK</google> | <google>ENGELSK</google> |
Revision as of 12:37, 21 July 2010
If you are using .NET Framework 4 and System.Data.SQLite you need to add following to yout applications config file. <source lang="xml">
<configuration> <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0" /> </startup> </configuration>
</source> otherwise you will get an exception: Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information. Explanation from Microsoft and another explanation can be found here.
<google>ENGELSK</google>