473,471 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Sync build number for all assemblies

How do I get all my assemblies to have the same build number?

--
mo*******@nospam.nospam
Feb 8 '06 #1
4 1258
Hi

To specify the Assembly version, we can use the AssemblyVersion Attribute.
Commonly it is used in AssemblyInfo file.
e,g,
// Version information for an assembly consists of the following four
values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.2.3.*")]

To specify the Build Number, we need to specifed the Major Version and
Minor Version too.

For detailed information, you can take a look at the MSDN.
See Remarks
AssemblyVersionAttribute Constructor
http://msdn2.microsoft.com/system.re...tribute.assemb
lyversionattribute.aspx

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Feb 8 '06 #2
Simplest option (VS2003 at least, not entirely sure how VS2005 deals with
versioning) is to make all your projects share a single source file which
has the AssemblyVersion attribute in it.

"moondaddy" <mo*******@nospam.nospam> wrote in message
news:ed**************@TK2MSFTNGP15.phx.gbl...
How do I get all my assemblies to have the same build number?

--
mo*******@nospam.nospam

Feb 8 '06 #3
OK this sounds good. Where can I find documentaion on how to do this?

--
mo*******@nospam.nospam
"Clive Dixon" <cl*******************@digita.noluncheonmeat.com > wrote in
message news:ey****************@TK2MSFTNGP09.phx.gbl...
Simplest option (VS2003 at least, not entirely sure how VS2005 deals with
versioning) is to make all your projects share a single source file which
has the AssemblyVersion attribute in it.

"moondaddy" <mo*******@nospam.nospam> wrote in message
news:ed**************@TK2MSFTNGP15.phx.gbl...
How do I get all my assemblies to have the same build number?

--
mo*******@nospam.nospam


Feb 8 '06 #4
Hi

Based on my research, there is no document.
You may try to simply right click on the project and select add existing
item and browse to where the file is to add a link to the same file.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Feb 9 '06 #5

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

Similar topics

3
by: Petri J. Riipinen | last post by:
Hi, I'm writing a largish (>60 projects) solution with VS.NET 2003 using VB.NET as my implementation language. I'm using NUnit and NUnit VS.NET-addin to implement unit tests for my code. ...
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: Steve Franks | last post by:
I'm using Visual Studio 2005 RC and cannot figure out how to produce a "release" build. Am I doing something wrong? I'm wondering if perhaps MS locked out the ability to produce a release build...
3
by: prabhupr | last post by:
Hi Folks Not sure if this is the right group, if not please re-direct me to the right one. Here is my question =============== When I compile my ASP.NET WEB project from VS 2005 (.NET...
6
by: Peter Zolja | last post by:
Hi, I'm building a webcontrol that contains a dynamic list of other controls. My problem is that when I add or remove an item the synchronization between the ViewState and the Controls...
3
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...
3
by: hardieca | last post by:
Hi, I have decorated a number of my classes with a custom attribute. I would like to loop through every type in my application, sniff for the attribute, and eventually publish the entire list of...
6
by: =?Utf-8?B?SHVnaA==?= | last post by:
Hi there We are trying to build a C sharp solution in Visual Studio 2005 Professional. We have a number of other assemblies, that do not form part of the solution. Assemblies that do form...
4
by: Bob Altman | last post by:
Hi all, I have a C++/CLI project (VS 2005) that produces a DLL that exports C bindings. Internally, this DLL contains routines compiled with /clr. I notice that my DLL doesn't have a version...
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
tracyyun
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...
1
isladogs
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.