How To Change Or Modify The Target .Net Framework In Visual Studio 2010

How To Change Or Modify The Target .Net Framework In Visual Studio 2010

In Visual Studio 2010:

  1. Right-click on your project
  2. Select Properties
  3. Select the Application tab
  4. Change the Target Framework to the desired .Net framework

If The Framework Is Not Found On The List:

  1. In Solution Explorer, select your project. Right Click, On the menu, choose Unload project.
  2. locate the entry for the target Framework version. For example, if your project is designed to use the .NET Framework 4.5,
    locate <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
    Change the value to the Framework version you want, such as v4.5 or v4.6.
    This can be done Immediately After <TargetFrameworkVersion>.
  3. In Solution Explorer, Right Click On your project and then choose Reload Project.

To verify the change, in Solution Explorer, :

  1. Right-click on your project
  2. Select Properties
  3. Select the Application tab.
  • Verify that .NET Target Framework Version shows the recently changed Framework version.
READ MORE  The selected virtual machine is inaccessible. Please inspect the error message shown below and press the Refresh button if you want to repeat the accessibility check

Leave a Reply

Your email address will not be published. Required fields are marked *