Share via


Auto-increment assembly version

Question

Thursday, September 15, 2016 7:24 AM

I would like to have a script or some automated way to increment the full set of assemblies and their versions.  Anyone know the best way to do this?

Thanks

All replies (1)

Friday, September 16, 2016 7:28 AM âś…Answered

Hi captkirk35,

You cold set the AssemblyVersion as ("1.0.*") in AssemblyInfo.cs file. Then after you rebuild your project, the executable file/dll version will be changed automatically. Detailed steps, please refer to:

http://stackoverflow.com/questions/356543/can-i-automatically-increment-the-file-build-version-when-using-visual-studio

And you also can try use a third part tool of Automatic Versions from below link to manage assembly versions.

https://visualstudiogallery.msdn.microsoft.com/dd8c5682-58a4-4c13-a0b4-9eadaba919fe

Best Regards,
Weiwei

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.