什么控制的ProductVersion中的.csproj文件中的设置? [英] What controls the ProductVersion setting in .csproj files?
问题描述
时不时地,我们的源代码控制引擎指示的ProductVersion
在.csproj的文件发生了变化。我们使用VS2008 SP1。
Every now and then our source control engine indicates that the ProductVersion
in a .csproj file has changed. We're using VS2008 SP1.
翻翻codeBase的我可以看到两个版本的报告:
Looking through the codebase I can see two versions reported:
<ProductVersion>9.0.30729</ProductVersion>
和
<ProductVersion>9.0.21022</ProductVersion>
有谁知道为什么,当Visual Studio的决定更改此设置,以及在何种这两个版本的数字是指?
Does anyone know why and when Visual Studio decides to change this setting, and to what these two version numbers refer?
推荐答案
这是用来装载的.csproj的Visual Studio的版本,所以它知道哪些功能的项目可能包括(若VS新版本改变的格式PROJ文件)。
That's the version of Visual Studio used to load the .csproj, so it knows what capabilities the project might contain (if new versions of VS change the format of the proj file).
这将改变项目加载时 - VS被悄悄做了轻微的升级到项目文件
It will change when the project is loaded - VS is silently doing a minor 'upgrade' to the project file.
看在VS2005凸出的文件,你会看到ProjectVersion设置为8.0.xxx
Look at a VS2005 proj file, you'll see the ProjectVersion is set to 8.0.xxx
这篇关于什么控制的ProductVersion中的.csproj文件中的设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!