.netvisual-studio-2010multi-targeting

Unable to target .NET 2.0 in Visual Studio 2010


What steps are needed to target previous versions of the .NET framework in Visual Studio 2010?

I installed Visual Studio and the .NET 2.0 SDK (from here), but only .NET 4.0 is in the list of available frameworks.

Screenshot

What am I missing?


Solution

  • Download and install .NET Framework 3.5. .NET Framework 3.5 includes 2.0, 3.0 and 3.5, though it is not included with Visual Studio 2010.