I add a library to the project and I get the following error:
The mixed-mode compilation is built against the 'v2.0.50727' version of the runtime and cannot be loaded at 4.0 time without additional configuration information.
I'm not too sure what I need to configure for this. Does anyone know what changes should be?
Thank,
PM
, .NET 4 .NET 3.5 . , CLR v2, "" , CLR v4 CLR .
app.config:
<configuration> <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0"/> </startup> </configuration>
. , .
, ( MSDN)
<?xml version="1.0"?> <configuration> <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/> </startup> </configuration>
, stackoverflow , google ...
From copying and pasting your error into Google: http://social.msdn.microsoft.com/Forums/en/clr/thread/58271e39-beca-49ac-90f9-e116fa3dd3c0
Good luck.
Source: https://habr.com/ru/post/1777843/More articles:incremental update issue in lucene - javaHow to set zoom level of Google map according to marker location - androidcan beanutil get property of one field with its native type - javaUsing old DLLs in C # .Net 4.0 - c #https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1777842/how-to-stop-vim-moving-javascript-object-keys-to-column-0&usg=ALkJrhj-1p5EB51liiisVFL2dCihDipm0Q"adding" two angles - javaConfiguring Vimrc to use googlecl - vimHow to delete rows in a Teradata table that are not in another table? - sqlSVN: vendor branches + patch + history? - version-controlCan I print in binary format? - linux-kernelAll Articles