Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

Are there any third party tools (or IDE hacks) that will provide this functionality? Why MS got rid of it, I'll never know ...

 

Thanks!

M.

Edited by mpappert
Posted

I know that one can modify the AssemblyInfo.vb file to include the "*" but you can't control it. You can't start with:

 

.Major = 1

.Minor = 0

.Build = 0

.Revision = 0

 

and increment the build number per "compile" ... it seems to generate the build number using the date and revision is maybe a timestamp of sorts? Not sure ... maybe its random ...

 

In the book 'Practical Standards for Microsoft Visual Basic .NET" the author states "In previous editions of Visual Basic, you could set a flag that caused Visual Basic to increment the build number by one on each successive build. There is no such feature in Visual Basic .NET, so you'll have to add manually updating the version number to your release process"

 

So, I was just wondering if there is an add-on or something that will re-add that functionality ...

 

Thanks!

M.

  • *Gurus*
Posted

Build equates to the number of days since Janurary 1, 2000 and revision the number of seconds since midnight.

 

Since you want a strict "up by one" increment you could code a simple function that keeps track of the number of builds in a text file or the registry by increasing the counter in Sub Main or the form's load event. Of course this would require an addition to each project.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...