473,406 Members | 2,293 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,406 software developers and data experts.

Automatic increase of version number for an assembly during the build process?

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 doing "No touch deployment"
so it's particularly important that the versioning works as it should as
assemblies otherwise do not get probed for.

May some of you provide me with a hint on how to make the version number to
increase automatically when using VS 2005, please?
Best regards,

Henrik Dahl
Mar 13 '06 #1
3 4356
That option is set in the Publish options of the project. Right click
on the project, select Properties then look at the Publish tab.

Mar 13 '06 #2
Thank you very much, Chris!

Do you, or somebody else, know, what about referenced class libraries then?
May their version numbers also be increased automatically and if yes, how,
please?
Best regards,

Henrik Dahl

"Chris Dunaway" <du******@gmail.com> skrev i en meddelelse
news:11**********************@p10g2000cwp.googlegr oups.com...
That option is set in the Publish options of the project. Right click
on the project, select Properties then look at the Publish tab.

Mar 13 '06 #3
Hi Henrik,

In AssemblyInfo.cs, you can specify the assembly version like

[assembly: AssemblyVersion("1.0.*")]

so that it will use the default build and revision number(auto-increment).

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Mar 14 '06 #4

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

Similar topics

2
by: Terence Shek | last post by:
Is there a way to set the application binding policy so that it always binds to the latest version of an assembly? I'm hoping there is a way to avoid updating the application's binding...
0
by: kfkyle | last post by:
We are currently developing our build process for an ASP.NET application. This application will consist of about 8 assemblies in total. Even though these assemblies will be deployed in a private...
3
by: julien | last post by:
Hello, Assembly.FullName give information about a DLL, including the version w.x.y.z. Is there a way to extract the version directly from the assembly, or do I have to extract it from...
2
by: frazan | last post by:
Hi, maybe it's a stupid question... I never have understood the real meaning of software version number, and when I must change it? There's some standard, where over Internet, can I find it? I...
6
by: Andrus | last post by:
VCSE 2005 .NET 2 WinForms I created assembly at runtime and added mydll.dll reference to it. mydll.dll is in applicatino startup directory. When I change mydl.dll to never version, this assembly...
2
by: =?Utf-8?B?Unlhbg==?= | last post by:
I am using vb.net to launch an external application (.exe); how do I capture this external applications's version number in my vb.net app?
6
by: John | last post by:
I have written a VB.NET DLL that is called by a third party program. If I make any changes in the DLL and then try to replace my DLL file the third party program will abort, saying that the DLL...
14
by: Phil | last post by:
I have been using this code to display the version number, and this has worked well, but I am now changing from using the ClickOnce publishing to a proper setup project, and this no longer works. ...
5
dlite922
by: dlite922 | last post by:
Hey guys, I've built applications and I've always wanted my own version and build number that's more like bigger applications. Requirements: 1. The version should be manual (besides...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
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,...
0
jinu1996
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...
0
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 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.