SQLite: Difference between revisions

From Yggenyk
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
* [http://www.sqlite.org/ SQLite official homepage]
* [http://www.sqlite.org/ SQLite official homepage]
* [http://www.sqlite.org/version3.html SQLite Version 3 Overview]
* [http://www.sqlite.org/version3.html SQLite Version 3 Overview]
 
* [http://www.sqlite.org/lang.html SQL As Understood By SQLite]
* [http://sourceforge.net/projects/sqlite-dotnet2/ ADO.NET 2.0 Provider for SQLite - Sourceforge]
* [http://sourceforge.net/projects/sqlite-dotnet2/ ADO.NET 2.0 Provider for SQLite - Sourceforge]



Revision as of 12:54, 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>

id=siteTree