什么控制的ProductVersion中的.csproj文件中的设置?文件、ProductVersion、csproj

由网友('瞬间磨灭。)分享简介:时不时地,我们的源代码控制引擎指示的ProductVersion 在.csproj的文件发生了变化。我们使用VS2008 SP1。Every now and then our source control engine indicates that the ProductVersion in a .csproj fi...

时不时地,我们的源代码控制引擎指示的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

阅读全文

相关推荐

最新文章