By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,044 Members | 1,213 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,044 IT Pros & Developers. It's quick & easy.

Version auto-increment issue

P: n/a
I cannot seem to get the version number of my VB app to increment
properly in VS2005. When I build the app each day the "build" number
increments with no problem as does the version number but if I make
multiple changes to my code during the day and then build again that
same day the version number will not change. I have the attribute set
to "1.0.*" and the default .NET formula of versioning is fine if only
it would update whenever I make a change. Does the compiler require a
certain number of lines of code be changed before the app rates a new
version number? Is there a way to force the framework to recalculate
the seconds passed since 01JAN00 and change the version number
accordingly? The build number changing each day is the behavior that I
expect from the VS default but it seems that the version would do it's
calculation and update the version number each time I built the app.
Is this not the way it is supposed to work? Is there a workaround?



May 22 '07 #1
Share this Question
Share on Google+
1 Reply

P: n/a
>I cannot seem to get the version number of my VB app to increment
>properly in VS2005.
This group is for C#.

Have you tried restarting VS? IIRC this is a "feature" of the VB
compiler or project system - the revision number only changes when VS
is started.

Mattias Sjögren [C# MVP] mattias @ |
Please reply only to the newsgroup.
May 22 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.