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

后端 未结 9 1619
生来不讨喜
生来不讨喜 2020-12-04 08:50

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

9条回答
  •  心在旅途
    2020-12-04 09:37

    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.

提交回复
热议问题