Upgrading .Net 2.0 Project to .Net 4.0

I have a .Net 2.0 project that depends on many third-party .Net DLLs (all of which are explicitly targeted at .NET 2.0).

If I had to transfer my project to VS2010 and configure the .NET 4.0 frame, would my application still be created? Or will he complain about dll.Net 2.0 links and I have to find version 4.0 for these third-party DLLs?

+5
source share
2 answers

Yes it will work. Ensure that the computers running the application have both .NET 2 and 4 FW installed.

+3
source

If you need to use older builds with 4.0 (mixed mode), you may need to add the following to <yourappname>.config:

<startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0"/>
</startup>

, 1.1 Ironpython (.NET 4.0) :

"Mixed mode assembly is built against version 'v1.1.4322' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information."

ipyw.exe.config .

+2

All Articles