473,320 Members | 1,732 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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
Jun 27 '08 #1
5 1783
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" <Ad***********@msn.comwrote in message
news:un**************@TK2MSFTNGP04.phx.gbl...
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
Jun 27 '08 #2
Hi,

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

Adrian
--
Adrian Miller
Jun 27 '08 #3
Hello Adrian,
>
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
Jun 27 '08 #4
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" <ro********@newsgroup.nospamwrote in message
news:20**************************@news.microsoft.c om...
Hello Adrian,
>>
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


Jun 27 '08 #5
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" <Ad***********@msn.comwrote in message
news:ui**************@TK2MSFTNGP05.phx.gbl...
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" <ro********@newsgroup.nospamwrote in message
news:20**************************@news.microsoft.c om...
>Hello Adrian,
>>>
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


Jun 29 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

26
by: Bruno Jouhier [MVP] | last post by:
I'm currently experiencing a strange phenomenon: At my Office, Visual Studio takes a very long time to compile our solution (more than 1 minute for the first project). At home, Visual Studio...
0
by: John Dolinka | last post by:
Is there anyway to get an incremental build number from vb.net everytime you do an incremental build, like app.revision use to? The following line of code generates a wierd number, but not an...
97
by: Master Programmer | last post by:
An friend insider told me that VB is to be killled off within 18 months. I guess this makes sence now that C# is here. I believe it and am actualy surprised they ever even included it in VS 2003 in...
3
by: =?Utf-8?B?Rmxhc2hwcm8=?= | last post by:
i have googled this question but cannot find an answer. i'm running windows vista and i'm using Visual Basic Express 2008. i know the build event button SHOULD be in under the compile tag but i...
2
by: mdimitris | last post by:
Goodevening I am new to the community and I would like to post a question. I think the solution is simple I just couldnt find the right one. I want to build a simpe program that will manage an...
11
by: =?Utf-8?B?UGV0ZXIgSw==?= | last post by:
I am working with Visual Studio or alternately with Expression Web. I need to create about 50 aspx pages with about 1200 thumbnali images, typically arranged in three to four groups per page,...
6
by: Miro | last post by:
I can run an exe ( and its install ) i have created on my machine. The exe has a button that populates a dataset and then shoots it to a crystal report. But... Installing the setup.exe on my...
4
by: Miro | last post by:
<i have also added this reply to the other newsgroup - now that I have realizd ( and assuming ) it is not a localized error directly to vb.> I have found this link on the website:...
0
jwwicks
by: jwwicks | last post by:
Introduction This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing program and debug a program. It is aimed at the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.