473,498 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Updating the AssemblyFileVersion

I have a software procect that now has over 30 .Net assemblies and
I need to maintain the AssemblyFileVersion for the builds. I know
it is possible to write a little utility that rifles through all
the AssemblyInfo.cs files and changes the value. Are there other
options?

Sam
Sep 29 '05 #1
1 1539
This is what I do:
I've removed from AssemblyInfo.cs all attributes that are common to all
assemblies: Company Name, Product Name, Product Version, Signing settings,
etc.
I've put all those settings in a CommonAssemblyInfo.cs, that is shared
by all projects in the solution. To do that, I've added the file to the
solution as a "Solution Item", and then I've added a link to that file in
every project.
Whenever I want to generate a different version, I just change
CommonAssemblyInfo.cs and build the solution again.

Hope it helps

"Sam Carleton" <sc**************@miltonstreet.com> escribió en el mensaje
news:2s******************@tornado.ohiordc.rr.com.. .
I have a software procect that now has over 30 .Net assemblies and
I need to maintain the AssemblyFileVersion for the builds. I know
it is possible to write a little utility that rifles through all
the AssemblyInfo.cs files and changes the value. Are there other
options?

Sam

Sep 29 '05 #2

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

Similar topics

11
16069
by: Jason | last post by:
Let's say I have an html form with 20 or 30 fields in it. The form submits the fields via POST to a php page which updates a table in a database with the $_POST vars. Which makes more sense? ...
2
4892
by: Hal Vaughan | last post by:
First, I am aware of both SwingUtilities.invokeLater(), and of using Thread to create a new thread.  These are part of the problem. I want to have something running in the background, while the...
10
5623
by: jaYPee | last post by:
does anyone experienced slowness when updating a dataset using AcceptChanges? when calling this code it takes many seconds to update the database SqlDataAdapter1.Update(DsStudentCourse1)...
1
401
by: Sam Carleton | last post by:
I have a software procect that now has over 30 .Net assemblies and I need to maintain the AssemblyFileVersion for the builds. I know it is possible to write a little utility that rifles through...
14
2911
by: el_sid | last post by:
Our developers have experienced a problem with updating Web References in Visual Studio.NET 2003. Normally, when a web service class (.asmx) is created, updating the Web Reference will...
6
4059
by: muttu2244 | last post by:
hi all am updating the same file in ftp, through multiple clients, but am scared that two clients may open the same file at a time, and try updating, then the data updated by one data will be...
2
20165
by: David Veeneman | last post by:
I am using the "1.0.*" pattern to auto-increment the AssemblyVersion attribute of my project's assembly. I'd like to have the assembly's AssemblyFileVersion attribute match this value, so that I...
3
4127
by: William Stacey [C# MVP] | last post by:
Could someone take me to school on AssemblyFileVersion and how it is used? I read conflicting info on it and am confused. TIA -- William Stacey
5
5328
by: rosaryshop | last post by:
I'm working a jewelry/rosary design web site at http://www.rosaryshop.com/rosariesAndKits2.php. As the user makes selections, it updates images of various parts, giving them a preview of the...
0
7125
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
7002
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
7165
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
7379
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
4908
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
4588
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
3081
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1417
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 ...
1
656
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.