Scott Hanselman

New version of UpdateVersion...great for those pesky AssemblyInfo.cs files!

October 26, '03 Comments [4] Posted in Nant
Sponsored By

Matt Griffith has updated his UpdateVersion utility, with a little help from Yours Truly and Mike Gunderloy.  Included in this update are support for a “BuildDay” algorithm ala Clemen Vasters, and various other goodnesses.  If you are constantly updating version numbers in your AssemblyInfo.cs files, check it out.  I use it in an NAnt automated build with much success.

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by SherWeb
Friday, 18 March 2005 15:16:36 UTC
The -p option in the utility is broken in v 1.2.

regards
Mirko
Monday, 27 June 2005 18:03:01 UTC
I have a crude fix for the -p (--pin ) option that I will be glad to send to anyone who wants it. I don't know if my fix for the broken Pin option breaks anything else since I don't really need those other fetures. I only need to use tne NAnt version task to create the new version and then pass the that generated value to UpdateVersion.exe as a "pinned" value.
Fred Morrison
Thursday, 04 August 2005 08:50:38 UTC
Hi,

I wrote a small nant task to update the assembly info files, for both managed c++ and c#. Thought it would be useful to share : http://www.dotnetguru.org/blogs/tbarrere/?p=229&more=1&c=1&tb=1&pb=1

regards

Thibaut
Tuesday, 13 December 2005 19:08:00 UTC
I've fixed the pin option and added support for specifying additional characters on the pin address to support fixed field and incremental to the existing one (useful for those who needs it to be pinned only for some of the fields).
I'll be happy to send it to anyone who needs it.
Nir.

Nir.pinhasov@oberon-media.com
Nir Pinhasov
Comments are closed.

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.