How can I auto-increment assembly (assembly) in Visual Studio?

How can I AutoIncrement the assembly (assembly) number in Visual Studio?

Duplicate:

stack overflow

+4
source share
4 answers

You can simply use the wildcard in AssemblyVersionAttribute :

[assembly: AssemblyVersion("1.0.*")] 

This will result in the assembly value being equal to the number of days from January 1, 2000 local time.

+5
source

Perhaps this is what you want from Code Project . Otherwise, you can do this from the project property using *.

+1
source

I am using http://code.mattgriffith.net/UpdateVersion/ in a batch file as a pre-build step with calls to interact with our version control system.

+1
source

Installing this as such should do this:

 [assembly: AssemblyVersion("1.0.*.*")] 
0
source

Source: https://habr.com/ru/post/1277742/


All Articles