473,545 Members | 2,678 Online
Bytes | Software Development & Data Engineering Community
+ 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*******@nospa m.nospam
Feb 8 '06 #1
4 1268
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
AssemblyVersion Attribute Constructor
http://msdn2.microsoft.com/system.re...tribute.assemb
lyversionattrib ute.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*******@nosp am.nospam> wrote in message
news:ed******** ******@TK2MSFTN GP15.phx.gbl...
How do I get all my assemblies to have the same build number?

--
mo*******@nospa m.nospam

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

--
mo*******@nospa m.nospam
"Clive Dixon" <cl************ *******@digita. noluncheonmeat. com> wrote in
message news:ey******** ********@TK2MSF TNGP09.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*******@nosp am.nospam> wrote in message
news:ed******** ******@TK2MSFTN GP15.phx.gbl...
How do I get all my assemblies to have the same build number?

--
mo*******@nospa m.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
319
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. Currently I have a single UnitTests-project that contains unit tests for all other projects. This way I can embed all unit testing into a single assembly...
0
1259
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 application directory, we are would like to apply strong names to them. If possible, we would like to avoid the need to rebuild any given Assembly...
3
2880
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 when using the RC since it does not have a go-live license? Or maybe I'm just doing something wrong. I do not want to go live with a release...
3
4244
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 Framework 2.0) IDE, it works fine, but if I use NANT (Build Automation) it gives me an error as follows:
6
4403
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 collection seems to break -- or at least that's my theory for now. Here's what I do; to add an item I do that following on the PostBack of a button: 1....
3
4366
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 doing "No touch deployment" so it's particularly important that the versioning works as it should as assemblies otherwise do not get probed for. ...
3
1773
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 attribute values to a webpage. Everything is working, except I'm getting references to old DLLs that are sitting in the ASP.Net temp directory...
6
2362
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 part of the solution have been referenced using the Projects tab in the Add Reference dialog. Assemblies that do not form part of the solution have...
4
3160
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 resource. I assume that, unlike C# and VB, C++ doesn't automatically generate a version resource. Is there any way to make this happen? In...
0
7428
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7452
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6014
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5354
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5071
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3485
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1916
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1039
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
738
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.