Reputation: 81984
We have several .NET applications developed in .NET 3.5 (Windows services, web applications, and WCF services) in different servers.
I'd like to migrate to .NET 4.0 and use VS.NET 2010.
Does VS.NET 2010 compiles to .NET 3.5 to avoid full simultaneous migration, being able to stop using VS.NET 2008 but maintaining some applications in the previous version?
Can I uninstall the .NET < 4.0 runtime and have only .NET 4.0 in my servers? Does it run applications compiled to previous framework versions?
Upvotes: 1
Views: 252
Reputation: 65927
Visual Studio 2010 can target versions 2.0, 3.0, 3.5 and 4 of the .NET Framework. If a version of the framework is installed on your computer but doesn't show up in Visual Studio 2010, install .NET 3.5 SP1.
When opening a solution created in a previous version, Visual Studio will convert the solution to the new format. This means that everyone working on a solution will have to use the same version of Visual Studio. However, with the possibility to target different framework versions, this shouldn't be a problem.
Upvotes: 2