Scott Hanselman

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

October 26, 2003 Comment on this post [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
Hosting By
Hosted in an Azure App Service
March 18, 2005 19:16
The -p option in the utility is broken in v 1.2.

regards
June 27, 2005 22:03
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.
August 04, 2005 12:50
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
December 13, 2005 23:08
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

Comments are closed.

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