På yggenyk.dk bruger vi cookies til at give dig en god oplevelse og til at indsamle statistik, der kan være med til at forbedre brugeroplevelsen. Hvis du klikker på et link på yggenyk.dk, accepterer du samtidig vores cookiepolitik.
SQLite: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
* [http://sqlite.phxsoftware.com/ System.Data.SQLite] | * [http://sqlite.phxsoftware.com/ System.Data.SQLite] | ||
If you are using '''.NET Framework 4''' and '''System.Data.SQLite''' you need to add following to yout applications config file. | |||
<source lang="xml"> | <source lang="xml"> | ||
<configuration> | <configuration> | ||
| Line 16: | Line 17: | ||
</configuration> | </configuration> | ||
</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.''' | |||
* [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:31, 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.
<google>ENGELSK</google>