How to find the version of the .NET Framework of a Visual Studio project?

I have a project in Visual Studio. How to find out which version of the .NET Framework is for it?

+93
version
Jul 12 '10 at 19:34
source share
8 answers

It depends on the version of Visual Studio:

  • In 2002 , all projects use .Net 1.0
  • In 2003 , all projects use .Net 1.1
  • In 2005 , all projects use .Net 2.0
  • In 2008 , projects use .Net 2.0, 3.0 or 3.5; you can change the version in the project properties
  • In 2010 , projects use .Net 2.0, 3.0, 3.5, or 4.0; you can change the version in the project properties
  • In 2012 , projects use .Net 2.0, 3.0, 3.5, 4.0, or 4.5; you can change the version in the project properties

Newer versions of Visual Studio support many versions of the .Net framework; check the type and properties of your project.

+103
Jul 12 '10 at 19:34
source share
  • Vb

Project Properties β†’ Compiler Tab β†’ Advanced Compilation Settings Button

  • FROM#

Project Properties -> Application Tab

+59
Jul 12 '10 at 19:38
source share

The easiest way to find the framework version of the current .NET project:

  • Right-click the project and select Properties.
  • On the first tab "Application" you can see the target structure used by this project.
+29
Dec 11 '12 at 7:28
source share

You can also search for Visual Studio project files for the XML tag RequiredTargetFramework. This tag seems to exist on .NET 3.5 and above.

For example: <RequiredTargetFramework>3.5</RequiredTargetFramework>

+8
Nov 01 '11 at 5:14
source share

Just right-click and select the "Properties" of any project in an existing application and open the "Application" in the "Left" menu, and then click "Apply" to see the current version of the Framework.

+5
Nov 28 '14 at 7:16
source share

It is as simple as in your Visual Studio.

  • Scroll to the 4th menu item at the top, β€œwebsite”.
  • under the websites, go to the option, "startup options".
  • in the startup options, go to the 'build' option.
  • change the target structure to what is always the case.
+2
May 17 '15 at 7:01
source share

You cannot change the target version of Windows or the .NET Framework if you create your project in Visual Studio 2013. This option is no longer available.

See that link from Microsoft: http://msdn.microsoft.com/en-us/library/bb398202.aspx

+1
Aug 27 '14 at 15:06
source share

For the .NET Framework 4.6 and Visual Studio 2017, you can do the following:

  1. In the options bar at the top of Visual Studio, select the 4th β€œProject” option, and below it, click on the last option that says [ProjectName] Properties. Click on it and you will see that a new tab has been opened. Under this selection is the Application Option on the left and you will see a version of the .NET Framework named "Target Framework".
  2. On the Solution Explorer tab, select your project and press Alt + Enter .
  3. OR just right-click on your project and select the last option that says Properties .
0
Jan 18 '19 at 11:15
source share



All Articles