I am converting the .vcproj from VS2005 to VS2010 but after converting it is giving the below mentioned error.
Additional information: 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.Additional information: 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.
and then i have added the app.config file in my project and added the below mentioned information in my file but it is still giving the same error.
can any one help me in resolving the above mentioned problem.
Add this to your web/app config:
<startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0"/> </startup>
Also see here
I added the following:
<startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0"/> <requiredRuntime version="v4.0.20506"/> </startup>
to my app.config for a VS2008 Express Edition to VS2010 Express Edition imported project. Worked fine for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With