简体   繁体   English

Visual Studio 2015添加发布版本号

[英]Visual Studio 2015 Add Publish Version Number

In previous VS versions adding publish version is easy. 在以前的VS版本中,添加发布版本很容易。 Just need to go to the project properties -> Publish and specify the publish number as shown in the below figure. 只需要转到项目属性 - >发布并指定发布号,如下图所示。

在此输入图像描述

But this is the project properties window from the Visual Studio 2015. 但这是Visual Studio 2015中的项目属性窗口。

在此输入图像描述

Here I can't find any location to specify the publish version as I did on previous VS versions. 在这里,我找不到任何位置来指定发布版本,就像我在之前的VS版本上所做的那样。 So have they dropped this functionality to add publish version numbers or have they moved it to another place?? 那么他们是否放弃了这个功能来添加发布版本号或者将它们移动到另一个地方?

Try This! 尝试这个!

Its free! 免费!

https://marketplace.visualstudio.com/items?itemName=PrecisionInfinity.AutomaticVersions https://marketplace.visualstudio.com/items?itemName=PrecisionInfinity.AutomaticVersions

Usage: To configure Automatic Versions, go to the Tools Menu -> Automatic Versions Settings Each time you build your project, the versioning will automatically change. 用法:要配置自动版本,请转到“工具”菜单 - >“自动版本设置”每次构建项目时,版本控制都将自动更改。 To use the "On Demand" version options, right click on the project and choose "Build New Version" 要使用“按需”版本选项,请右键单击项目并选择“构建新版本”

Hope this helps! 希望这可以帮助!

Microsoft deprecated add-ins in Visual Studio 2015 so build number increment add-in is no longer working. Microsoft在Visual Studio 2015中弃用了加载项,因此内部版本号增量加载项不再有效。

Your possible replacement is VsIncrementer ( link ) 您可能的替代品是VsIncrementer链接

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM