Question

Before upgrading to VisualStudio 2010, I want to make sure I can still target version 2.0 of the framework. I couldn't find a statement about this from MS. Does anyone know?

Was it helpful?

Solution

According to this page, you can, just make sure you have .NET 3.5 SP1 installed.

Visual Studio 2010 includes only the .NET Framework 4. To target earlier versions of the .NET Framework, you must have the .NET Framework 3.5 Service Pack 1 (SP1) installed. The .NET Framework 3.5 SP1 includes the .NET Framework 2.0, the .NET Framework 3.0, and the .NET Framework 3.5 SP1.

OTHER TIPS

Yes this is possible. It is known as Multi-targeting and is a feature most definitely supported in VS2010.

Some one else asked this just an hour ago CodeProject. The answer is yes. IT supports 2.0 -> 4.0.

Yes

Googling this brought up a geekswithblogs post showing the multi-targeting functionality. Apparently StackOverflow won't let me post the link. But the answer is Yes

This feature was included in Visual Studio 2008 as a way to handle 2.0 through 3.5 projects, so it would be an epic failure on Microsoft's part not to include the same functionality in their next release. With 2010 you should be able to support projects in the 2.0 to 4.0 framework ranges (and beyond possibly depending on the framework upgrades).

Here is how you change the Target Framework in VS2010.

1) Right click the Project.

2) Click the "Compile" tab

3) At the bottom click "Advanced Complie Options..."

4) Choose the framework from "Target framework (all configurations):"

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top