472,989 Members | 3,016 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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 1243
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...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...
3
SueHopson
by: SueHopson | last post by:
Hi All, I'm trying to create a single code (run off a button that calls the Private Sub) for our parts list report that will allow the user to filter by either/both PartVendor and PartType. On...

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.