Managing build versions in Visual Studio
I often build libraries and websites and my versions are naturally always at 1.0.0.0.
How do you guys manage the versions to increment automatically?
Also, how can you specify a seed for example: I want to start at 0.5.0.0 and increment to 0.5.0.1, 0.5.0.2, 0.5.0.3, etc...
Or starting at 1.0.0.0 and increment like 1.0.1.0, 1开发者_如何学Python.0.2.0, 1.0.3.0.
Thanks!
You can just adjust the variable in your project/Properties/AssemblyInfo.cs.
From left to right you can either enter manually your Major, Minor, Revision and Build-Numbers, or you can substitute them with a '*' and let VisualStudio increment them with each build.
Thank you for the question! I thought about it before, you've just reminded me.
Now I've found visual studio add-in for that purposes:
Build Version Increment Add-In Visual Studio
I've installed and tested it - works fine for me.
I use Versioning Controlled Build
精彩评论