470,810 Members | 1,173 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,810 developers. It's quick & easy.

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 1116
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Petri J. Riipinen | last post: by
reply views Thread by kfkyle | last post: by
3 posts views Thread by Steve Franks | last post: by
3 posts views Thread by prabhupr | last post: by
6 posts views Thread by Peter Zolja | last post: by
3 posts views Thread by hardieca | last post: by
6 posts views Thread by =?Utf-8?B?SHVnaA==?= | last post: by
4 posts views Thread by Bob Altman | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.