How to find the .NET framework version of a Visual

2019-01-16 08:55发布

I have a project in Visual Studio. How can I find out which .NET Framework version it's for?

标签: .net version
7条回答
The star\"
2楼-- · 2019-01-16 09:10

Simple Right Click and go to Properties Option of any project on your Existing application and see the Application option on Left menu and then click on Application option see target Framework to see current Framework version .

查看更多
女痞
3楼-- · 2019-01-16 09:10

It's as easy as in your Visual studio.

  1. go to the 4th menu option on top, 'website'.
  2. under websites go to option, 'start options'.
  3. under start options, go to 'build' option.
  4. change the target framework there to what so ever framework.
查看更多
够拽才男人
4楼-- · 2019-01-16 09:16

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

  1. Right-click on the project and go to "Properties."
  2. In the first tab, "Application," you can see the target framework this project is using.
查看更多
我命由我不由天
5楼-- · 2019-01-16 09:20
  • VB

Project Properties -> Compiler Tab -> Advanced Compile Options button

  • C#

Project Properties -> Application Tab

查看更多
家丑人穷心不美
6楼-- · 2019-01-16 09:24

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

For example: <RequiredTargetFramework>3.5</RequiredTargetFramework>

查看更多
三岁会撩人
7楼-- · 2019-01-16 09:28

It depends which 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 Project Properties
  • In 2010, projects use .Net 2.0, 3.0, 3.5, or 4.0; you can change the version in Project Properties
  • In 2012, projects use .Net 2.0, 3.0, 3.5, 4.0 or 4.5; you can change the version in Project Properties

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

查看更多
登录 后发表回答