Hi Prasad,

one think you could do is extract the version from the AssemblyInfo.cs using a regular _expression_ for instance, then label it using VSS NAntContrib tasks. I'm using the following _expression_ to retrieve the version from AssemblyInfo to do this :
Regex regex = new Regex(@"AssemblyVersion[^(]*(""(?<version>[^""]*)"
, options);

	
see here for more details (not exactly what you need but part of the code is there): http://www.dotnetguru2.org/tbarrere/?p=229&more=1&c=1&tb=1&pb=1

kind regards

Thibaut
--
[blog] http://www.dotnetguru2.org/tbarrere

2005/9/22, nbl prasad <[EMAIL PROTECTED]>:
Hi,

In nant how do i read the AssemblyInfo.cs version
number and label it in VSS using <vsslabel>.

Thanks and Regards
Prasad



__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Reply via email to