473,507 Members | 6,459 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 1541
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
16070
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
5626
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
2912
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
4063
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
4129
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
5330
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
7223
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
7372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7030
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...
0
7482
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
5041
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
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1540
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
758
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
411
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...

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.