Menu

#4 Error with .Net Framework 4.0

1.0
open
nobody
2012-02-23
2012-02-23
No

The library for SQLite give an error with framework .net >= 4.0

For solve the issue use this info in app.config file:

<?xml version="1.0"?>
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/> 
</startup>
<runtime>
    <loadFromRemoteSources enabled="true" />
</runtime>  
</configuration>

Source:
http://www.csharpcity.com/mixed-assembly-mode-error-with-net-4-0-sqlite-nunit-and-partcover/

Discussion


Log in to post a comment.