Visual Studio 版本

我怎么知道最后一个版本的Visual Studio用于项目?

 

How can I tell what version of Visual Studio was last used to work on a project?

 

 

我正在使用一些较旧的代码,并且我认为上次构建该代码的人使用的是Visual Studio6。没有.vcproj文件,但是.dsp和.dsw文件具有以下标头:
(.dsp)

1
2
# Microsoft Developer Studio Project File - Name="[redacted]" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00

(。dsw)

1
Microsoft Developer Studio Workspace File, Format Version 6.00

"格式版本6.00"是否对应于Visual Studio 6?

 


解决方案/ VS版本矩阵为:

  • VS 6.0-> 6.0
  • VS 2002-> 7.0
  • VS 2003-> 8.0
  • VS 2005-> 9.0
  • VS 2008-> 10.0
  • VS 2010-> 11.0
  • VS 2012-> 12.0
  • VS 2013-> 10.0至12.0
  • VS 2015-> 10.0至14.0
  • VS 2017-> 10.0至15.0
  • VS 2019-> 10.0至16.0

解决方案之间的兼容性不能保证项目之间的兼容性。有关详细信息,请查看Visual Studio 2013兼容性文档。

 


我打开了一个拥有的VisStudio 6.0 dsw文件,其读取格式为6.00版。

我打开了一个拥有的VisStudio 2008 sln文件,它的显示格式为10.00。

 

 

所以我认为是这样吗?

对应。如果6.0是6.0版,则Visual Studio .NET(2002)是7.0,Visual Studio .NET 2003是8.0,Visual Studio 2005是9.0,而Visual Studio 2008是10.00

 


当我使用记事本打开项目的解决方案文件时,Visual Studio的版本写在顶部,带有格式版本号,例如-

1
2
Microsoft Visual Studio Solution File, Format Version 10.00
#Visual Studio 2008

检查已编译文件中的二进制签名。
通过此操作,您可以获得编译器版本。
通过编译器版本,您可以获得Visual Studio版本。

通过编译器,我不仅指cl.exe,还指资源编译器,链接器等。您有一些已编译的资料吗?

posted @ 2022-08-01 16:15  xiaoheikkkk  阅读(155)  评论(0编辑  收藏  举报