Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Visual Basic 2008 Autoincrement Build Number

Reply
 
Old 05-15-2008   #1 (permalink)
Adrian Miller


 
 

Visual Basic 2008 Autoincrement Build Number

Hi,

how do I configure my VB projects in VS 2008 that they automatically
increment the build number as c# project do?

Thanks in advance for any hint
Adrian

--
Adrian Miller



My System SpecsSystem Spec
Old 05-16-2008   #2 (permalink)
Jeff Winn


 
 

Re: Visual Basic 2008 Autoincrement Build Number

If it's anything like C# you should be able to open the AssemblyInfo.vb file
that's in the project and change the version numbers to an asterisk.

<assembly: Version("1.0.*")>

Forgive me if my VB is incorrect, I'm a bit rusty with it.

"Adrian Miller" <Adrian.Miller@xxxxxx> wrote in message
news:unPgPTqtIHA.5580@xxxxxx
Quote:

> Hi,
>
> how do I configure my VB projects in VS 2008 that they automatically
> increment the build number as c# project do?
>
> Thanks in advance for any hint
> Adrian
>
> --
> Adrian Miller
>
My System SpecsSystem Spec
Old 05-19-2008   #3 (permalink)
Adrian Miller


 
 

Re: Visual Basic 2008 Autoincrement Build Number

Hi,

no this does not work for vb 2008. Any thoughts?

Adrian


--
Adrian Miller


My System SpecsSystem Spec
Old 05-19-2008   #4 (permalink)
Rory Becker


 
 

Re: Visual Basic 2008 Autoincrement Build Number

Hello Adrian,
Quote:

>
> no this does not work for vb 2008. Any thoughts?
Works for me.

What version *is* being generated ?

Can you set the version to a hard coded value (say "2.5.3.9") rather than
an auto increment?

Does this affect the resultant dll?

Are you sure you're checking the dll that's being built.

Perhaps a configuration change has changed the build directory and you are
looking at an old version? (Check the modified date)

Is your Assemblyinfo.vb set to something other than "compile"?

Just a few thoughts... Jeff's solution should be correct

--
Rory


My System SpecsSystem Spec
Old 06-03-2008   #5 (permalink)
Adrian Miller


 
 

Re: Visual Basic 2008 Autoincrement Build Number

Hi,

it works with c#, but not with vb.

Or did anybody else figured this out for vb 2008?

Thanks
Adrian

--
Adrian Miller

"Rory Becker" <rorybecker@xxxxxx> wrote in message
news:2081c031125008ca87d344eda826@xxxxxx
Quote:

> Hello Adrian,
>
Quote:

>>
>> no this does not work for vb 2008. Any thoughts?
>
> Works for me.
>
> What version *is* being generated ?
>
> Can you set the version to a hard coded value (say "2.5.3.9") rather than
> an auto increment?
>
> Does this affect the resultant dll?
>
> Are you sure you're checking the dll that's being built.
> Perhaps a configuration change has changed the build directory and you are
> looking at an old version? (Check the modified date)
>
> Is your Assemblyinfo.vb set to something other than "compile"?
>
> Just a few thoughts... Jeff's solution should be correct
>
> --
> Rory
>
>

My System SpecsSystem Spec
Old 06-29-2008   #6 (permalink)
Jameson


 
 

Re: Visual Basic 2008 Autoincrement Build Number

Right click on the project in the solution explorer window, then goto the
compile tag, now click on advancd compile options.

Should be able to modify there.

"Adrian Miller" <Adrian.Miller@xxxxxx> wrote in message
news:uiLY$QVxIHA.4952@xxxxxx
Quote:

> Hi,
>
> it works with c#, but not with vb.
>
> Or did anybody else figured this out for vb 2008?
>
> Thanks
> Adrian
>
> --
> Adrian Miller
>
> "Rory Becker" <rorybecker@xxxxxx> wrote in message
> news:2081c031125008ca87d344eda826@xxxxxx
Quote:

>> Hello Adrian,
>>
Quote:

>>>
>>> no this does not work for vb 2008. Any thoughts?
>>
>> Works for me.
>>
>> What version *is* being generated ?
>>
>> Can you set the version to a hard coded value (say "2.5.3.9") rather than
>> an auto increment?
>>
>> Does this affect the resultant dll?
>>
>> Are you sure you're checking the dll that's being built.
>> Perhaps a configuration change has changed the build directory and you
>> are looking at an old version? (Check the modified date)
>>
>> Is your Assemblyinfo.vb set to something other than "compile"?
>>
>> Just a few thoughts... Jeff's solution should be correct
>>
>> --
>> Rory
>>
>>
>
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Problem With Visual Basic 2008 Software
In Visual Basic 2008 create aspx web pages programmatically .NET General
Microsoft Tutorials: Visual Basic 2008 Express Edition (http://www.microsoft.com/express/vb/) Vista mail
visual basic 2008 express install on vista business failure Vista General
Err.Number 486, Vista Ultimate, Visual Studio, & Visual Basic Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46