Sync build number for all assemblies

  • Thread starter Thread starter moondaddy
  • Start date Start date
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.reflection.assemblyversionattribute.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.
 
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.
 
OK this sounds good. Where can I find documentaion on how to do this?

--
(e-mail address removed)
Clive Dixon said:
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.
 
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.
 
Back
Top