Version auto-increment issue

E

ewingate

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?

Thanks,

ewingate
 
M

Mattias Sjögren

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
 

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

Top