For Programmers: Free Programming Magazines  


Home > Archive > C# > March 2004 > Writing deployment project version to dlls product version









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Writing deployment project version to dlls product version
Moshe Ben-Zion

2004-03-28, 10:29 pm

Hi,

I have deployment project in my solution that packs dlls of other
projects in a solution. I'd like to add deployment project version
(that I set each time manually) as product version on each one of dlls
installed. The only solution to do this, as I see, is to add to each
one of projects following line:
[assembly: AssemblyInformationalVersion("12.3.0")]
There are 2 problems with this:

1) I should manually synchronize this line in code each time in all
included projects.
Let's say I can solve this by Source Safe sharing of the same code
file.

2) Each time that I change manualy deployment project version, I need
to change it manually in project's code file.

Any suggestions how to automate these tasks (especially the second) ?
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com