[EMAIL PROTECTED] wrote:
> The way that I do this is to use the <asminfo> task to generate the
> assemblyinfo file on the fly rather than having one in the project.
Or you can use the version control tasks (or <exec>) in NAntContrib to
check out the AssemblyInfo file, re-generate it and then check it back in.

> There's also a <version> task in NAntContrib that will automatically
> increment a version number file and then expose it as NAnt properties
> -haven't used it myself, but it looks like it mught do what you want.
I've used the <version> task, and it works very well for this purpose. 
It doesn't work so well, however, when you want to be able to do a
just-check-that-it-compiles build in between actual Builds.

- Shawn


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to