Auto Increment Version

  • Thread starter Thread starter news.microsoft.com
  • Start date Start date
N

news.microsoft.com

Is there a way to have a timestamp automatically become part of the Assembly
version number? I.e., so everytime the DLL compiles, the assembly version
updates?

TIA-
MS
 
You can set the AssemblyVersion attribute to have a build and revision
component of * (e.g. "1.2.*.*"), in which case the build number will
increment daily, and the revision number will be a number dependent on the
time of day (but that's an implementation detail).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top