SQLite

From Yggenyk
Revision as of 12:31, 21 July 2010 by WikiSysop (talk | contribs)
Jump to navigation Jump to search

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.

<google>ENGELSK</google>

id=siteTree