How can I make a build number that increases for each build automatically in
a ASP.NET project, as I used to have in VB 6.0 ?
Regards,
SAHP 8 2751
This is the default action. At the bottom of your AssemblyInfo.vb file,
there is an entry for the complete version number of the assembly (and
comments describing that section) that looks like this by default:
' Version information for an assembly consists of the following four values:
'
' Major Version
' Minor Version
' Build Number
' Revision
'
' You can specify all the values or you can default the Build and Revision
Numbers
' by using the '*' as shown below:
<Assembly: AssemblyVersion("1.0.*")>
"S. HP" <sa**@netcoders.dk> wrote in message
news:eD**************@TK2MSFTNGP09.phx.gbl... How can I make a build number that increases for each build automatically in a ASP.NET project, as I used to have in VB 6.0 ?
Regards, SAHP
I believe I've seen somewhere that, for VB.NET, * increments the build
number only if you reloaded the IDE.
If you do several compilations during the same IDE session, it will stay
intact...
Using the compiler from the command line could likely solve the problem.
Hopefully it will be fixed in a next release...
Patrice
--
"S. HP" <sa**@netcoders.dk> a écrit dans le message de
news:eD**************@TK2MSFTNGP09.phx.gbl... How can I make a build number that increases for each build automatically
in a ASP.NET project, as I used to have in VB 6.0 ?
Regards, SAHP
It doesn't have to do with the IDE. It has to do with what changes were
made between builds.
"Patrice" <no****@nowhere.com> wrote in message
news:e8****************@TK2MSFTNGP15.phx.gbl... I believe I've seen somewhere that, for VB.NET, * increments the build number only if you reloaded the IDE. If you do several compilations during the same IDE session, it will stay intact...
Using the compiler from the command line could likely solve the problem. Hopefully it will be fixed in a next release...
Patrice
--
"S. HP" <sa**@netcoders.dk> a écrit dans le message de news:eD**************@TK2MSFTNGP09.phx.gbl... How can I make a build number that increases for each build automatically in a ASP.NET project, as I used to have in VB 6.0 ?
Regards, SAHP
Ok, it changes if it would break something public then ?
If I remember the behavior was said to be different in the C# (that would
change for each build ?) and the VB.NET compiler.
Also I'm almost sure I gave this a try when I came accross this and that
effectively the build number was changed when reloading the IDE wihtout
making any change after several changes that didn't affect the build
number...
Not that a terrible issue but is the behavior documented somewhere ? (IMO I
saw this on MSDN but was unable to get it back).
Patrice
--
"Scott M." <s-***@nospam.nospam> a écrit dans le message de
news:O%****************@TK2MSFTNGP09.phx.gbl... It doesn't have to do with the IDE. It has to do with what changes were made between builds.
"Patrice" <no****@nowhere.com> wrote in message news:e8****************@TK2MSFTNGP15.phx.gbl...I believe I've seen somewhere that, for VB.NET, * increments the build number only if you reloaded the IDE. If you do several compilations during the same IDE session, it will stay intact...
Using the compiler from the command line could likely solve the problem. Hopefully it will be fixed in a next release...
Patrice
--
"S. HP" <sa**@netcoders.dk> a écrit dans le message de news:eD**************@TK2MSFTNGP09.phx.gbl... How can I make a build number that increases for each build
automatically in a ASP.NET project, as I used to have in VB 6.0 ?
Regards, SAHP
http://msdn.microsoft.com/library/de...managevers.asp
"Patrice" <no****@nowhere.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl... Ok, it changes if it would break something public then ? If I remember the behavior was said to be different in the C# (that would change for each build ?) and the VB.NET compiler.
Also I'm almost sure I gave this a try when I came accross this and that effectively the build number was changed when reloading the IDE wihtout making any change after several changes that didn't affect the build number...
Not that a terrible issue but is the behavior documented somewhere ? (IMO I saw this on MSDN but was unable to get it back).
Patrice
--
"Scott M." <s-***@nospam.nospam> a écrit dans le message de news:O%****************@TK2MSFTNGP09.phx.gbl... It doesn't have to do with the IDE. It has to do with what changes were made between builds.
"Patrice" <no****@nowhere.com> wrote in message news:e8****************@TK2MSFTNGP15.phx.gbl... >I believe I've seen somewhere that, for VB.NET, * increments the build > number only if you reloaded the IDE. > If you do several compilations during the same IDE session, it will > stay > intact... > > Using the compiler from the command line could likely solve the > problem. > Hopefully it will be fixed in a next release... > > Patrice > > -- > > "S. HP" <sa**@netcoders.dk> a écrit dans le message de > news:eD**************@TK2MSFTNGP09.phx.gbl... >> How can I make a build number that increases for each build automatically > in >> a ASP.NET project, as I used to have in VB 6.0 ? >> >> >> Regards, >> SAHP >> >> > >
When I rebuild my project, the build number does NOT increase...
Nomatter what I do, in my VB.NET (ASP.NET) application, I cannot make the
build number increase ...
Am I doing something wrong ???
Regards,
SAHP
"Scott M." <s-***@nospam.nospam> wrote in message
news:O%****************@TK2MSFTNGP09.phx.gbl... It doesn't have to do with the IDE. It has to do with what changes were made between builds. http://msdn.microsoft.com/library/de...managevers.asp
"S. HP" <sa**@netcoders.dk> wrote in message
news:uP**************@TK2MSFTNGP11.phx.gbl... When I rebuild my project, the build number does NOT increase...
Nomatter what I do, in my VB.NET (ASP.NET) application, I cannot make the build number increase ...
Am I doing something wrong ???
Regards, SAHP
"Scott M." <s-***@nospam.nospam> wrote in message news:O%****************@TK2MSFTNGP09.phx.gbl... It doesn't have to do with the IDE. It has to do with what changes were made between builds.
I already read the article you sent me a link to, and it still doesnt
increase my builder numbers for every build.
So now I have switched over to manually editing the version numbers instead
of the * sign, whenever I need the build number to increase ...
Sadly, but now it at least works :-)
Regards,
SAHP
"Scott M." <s-***@nospam.nospam> wrote in message
news:Ok**************@TK2MSFTNGP12.phx.gbl... http://msdn.microsoft.com/library/de...managevers.asp This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: velthuijsen |
last post by:
I have a function that before I modified it took around 13.75 seconds
to complete after the modification it took .325 seconds to complete.
the function header:
(Point **Input, size_t InputSize,...
|
by: Do Park via SQLMonster.com |
last post by:
Hello all,
A software that connects SQL Server via ODBC uses 12 process at the same
time when I look at the process info(panel). Is it possible to increase
number of process (or thread) for a...
|
by: Olaf Gschweng |
last post by:
We're new into DB2 and have some problem with DB2 8.1 (?) on a Linux system.
We load some big tables of a DB2 database from files every day. We do a
"DELETE FROM table" for each table and then we...
|
by: a.p.mews |
last post by:
Hi
I'm trying to build a database to hold a CD collection inputting to a Form.
I enter the CD number - no problem there, but would then like to enter a
track number AND increase that number...
|
by: David Battams |
last post by:
Hi there,
I'm calling xcopy in a post build event to copy some runtime requirements to
the TargetDir of the application I am working on. Problem is that I only
seem to be able to have 9 calls to...
|
by: Pietro |
last post by:
Thanks for the last answer, but now how can i restart the count of the
Build and Revision numbers of a dll in VS.Net.
Thanks
Pietro
|
by: Zack Sessions |
last post by:
This topic has been discussed a few times. It looks to me that one of
the easiest ways to determine this is by deconstructing the Assembly
Version's Build and Revision numbers. A previous thread...
|
by: Henrik Dahl |
last post by:
Hello!
In VS.Net 2003 it was easy to make the build number to increase
automatically at each build. Therefore it was easy to ensure that only one
assembly would get a certain build number. I'm...
|
by: =?Utf-8?B?c2FtZWVy?= |
last post by:
environment : .net framework 1.1, ado.net, visual studio 2003, vb, sqlsever
2000, winforms, webforms
I want to increase the timout of the webservice in the application which is
being used in a...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
| |