0

Propably a stupid question but here it goes.

I have a blank console application and I added to the AssemlyInfo.cs file this line of code.

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

I'm wondering at what point gets the number incremented ?

DaveShaw
  • 52,123
  • 16
  • 112
  • 141
user49126
  • 1,825
  • 7
  • 30
  • 53
  • Seems like a duplicate of: [How to have an auto incrementing version number (Visual Studio)?](http://stackoverflow.com/a/826850/952310) – Yair Nevet May 21 '13 at 20:15

1 Answers1

0

It will be updated every day / build.

From MSDN:

A version number such as [assembly:AssemblyVersion("1.2.*")] specifies 1 as the major version, 2 as the minor version, and accepts the default build and revision numbers. A version number such as [assembly:AssemblyVersion("1.2.15.*")] specifies 1 as the major version, 2 as the minor version, 15 as the build number, and accepts the default revision number. The default build number increments daily. The default revision number is random.

Edit: As of Framework 4.5, the revision number is no longer random; it is the number of seconds since midnight, divided by 2.

GalacticCowboy
  • 11,663
  • 2
  • 41
  • 66
DaveShaw
  • 52,123
  • 16
  • 112
  • 141