sln文件里的版本标识

2022/11/29 21:32

Visual Studio的解决方案文件*.sln,是纯文本格式的内容。其中,文件开头的2~4行内容,用于标识解决方案文件的版本。

The solution file with *.sln extension from Visual Studio is writen by plain text. The file headers, which at first 2 or 4 lines at the beginning of the file, are used to identify the version.

sln file of Visual Studio .NET 2003 sln file of Visual Studio 2005 sln file of Visual Studio 2008 sln file of Visual Studio 2010 sln file of Visual Studio 2012 sln file of Visual Studio 2013 sln file of Visual Studio 2015 sln file of Visual Studio 2017 sln file of Visual Studio 2019 sln file of Visual Studio 2022
Visual Studio .NET 2003
Microsoft Visual Studio Solution File, Format Version 8.00
# Visual Studio .NET 2003
VisualStudioVersion = 7.1
Visual Studio 2005
Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
VisualStudioVersion = 8.0
Visual Studio 2008
Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
VisualStudioVersion = 9.0
Visual Studio 2010
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Visual Studio 2012
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Visual Studio 2013
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.31101.0
MinimumVisualStudioVersion = 10.0.40219.1
Visual Studio 2015
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.23107.0
MinimumVisualStudioVersion = 10.0.40219.1
Visual Studio 2017
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26430.4
MinimumVisualStudioVersion = 10.0.40219.1
Visual Studio 2019
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28701.123
MinimumVisualStudioVersion = 10.0.40219.1
Visual Studio 2022
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.1.32210.238
MinimumVisualStudioVersion = 10.0.40219.1