我们的源代码管理引擎有时会指示 .csproj 文件中的 ProductVersion
已更改。我们正在使用 VS2008 SP1。
查看代码库,我可以看到报告的两个版本:
<ProductVersion>9.0.30729</ProductVersion>
和
<ProductVersion>9.0.21022</ProductVersion>
有谁知道 Visual Studio 为何以及何时决定更改此设置,以及这两个版本号指的是什么?
最佳答案
这是用于加载 .csproj 的 Visual Studio 版本,因此它知道项目可能包含哪些功能(如果新版本的 VS 更改了项目文件的格式)。
它会在加载项目时发生变化 - VS 正在默默地对项目文件进行较小的“升级”。
查看 VS2005 proj 文件,您会看到 ProjectVersion 设置为 8.0.xxx
关于c# - .csproj 文件中的 ProductVersion 设置由什么控制?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1299492/