Change the Target .NET Framework Version VB 2008/2010
Posted: Mon Sep 20, 2010 3:55 pm
Reference Link: http://msdn.microsoft.com/en-us/library/bb398202.aspx
Change the Target .NET Framework Version or Profile for an Existing Project
--------------------------------------------------------------------------------
The following steps show how to change the .NET Framework target for an existing project.
To change the target .NET Framework version or profile
1.In Visual Studio, open the project you want to change.
2.Right-click the project in Solution Explorer and then click Properties.
3.In the Project Designer, locate the Target Framework list, as follows:
For Visual Basic projects, click the Compile tab and then click Advanced Compile Options. The Target Framework list is in the Advanced Compiler Settings dialog box.
For Visual C# projects, the Target Framework list is on the Application tab of the Project Designer. For more information, see Application Page, Project Designer (C#).
For Visual F# projects, the Target Framework list is on the Application tab of the Project Designer.
4.In the Target Framework list, select a .NET Framework version or profile that differs from the current one for the project.
When you click OK, the project unloads and then reloads in the integrated development environment (IDE). The project now targets the .NET Framework version that you just selected.
Change the Target .NET Framework Version or Profile for an Existing Project
--------------------------------------------------------------------------------
The following steps show how to change the .NET Framework target for an existing project.
To change the target .NET Framework version or profile
1.In Visual Studio, open the project you want to change.
2.Right-click the project in Solution Explorer and then click Properties.
3.In the Project Designer, locate the Target Framework list, as follows:
For Visual Basic projects, click the Compile tab and then click Advanced Compile Options. The Target Framework list is in the Advanced Compiler Settings dialog box.
For Visual C# projects, the Target Framework list is on the Application tab of the Project Designer. For more information, see Application Page, Project Designer (C#).
For Visual F# projects, the Target Framework list is on the Application tab of the Project Designer.
4.In the Target Framework list, select a .NET Framework version or profile that differs from the current one for the project.
When you click OK, the project unloads and then reloads in the integrated development environment (IDE). The project now targets the .NET Framework version that you just selected.