Assembly Versions ?

  • Thread starter Thread starter Jm
  • Start date Start date
J

Jm

Hi All

Im sure this will sound like a stupid question but im not sure how to make
my program auto increment the version number as it is compiled. I have had a
look in the assemblyinfo.vb file and the version is "1.9.*", if i query this
in the code at runtime i get the exact version to be 1.9.1941. I thought
that every time i compiled the code that the 1941 should increment ? Or have
i somehow disabled that somewhere by accident ? Basically i want to be able
to let the program auto increment for the most part but i want to be able to
increment up to 1.9.2000 when a big change happens for example. Any help is
greatly appreciated

Thanks
 
Jm,

You can enable incremental build by clicking the checkbox at
Project->Properties
Configuration Properties
Optimizations

HTH
 
Sarika said:
You can enable incremental build by clicking the checkbox at
Project->Properties
Configuration Properties
Optimizations

This has nothing to do with the version number. Incremental build will
prevent parts of the project from being recompiled if they were not changed
since the last build.
 
Thank you for correcting me Herfried. I thought it was like the
auto-increment checkbox for the Version number in VB 6.0.

Apologies Jm!
 
Back
Top