RE: [Nant-users] Build Number Generation?

2002-06-21 Thread Geurts, James
Thanks a lot... that works great! -Original Message- From: John Lam [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 4:33 PM To: Geurts, James Cc: [EMAIL PROTECTED] Subject: RE: [Nant-users] Build Number Generation? The VersionTask creates a new property called sys.version. You ca

RE: [Nant-users] Build Number Generation?

2002-06-21 Thread John Lam
The VersionTask creates a new property called sys.version. You can then use it in a filter to inject it into an AssemblyInfo.cs file. Here's an excerpt from my build script that uses it: Cheers, -John http://www.iunknown.com -Original Message- From: Geur

RE: [Nant-users] Build Number Generation?

2002-06-21 Thread Geurts, James
That is a really nice addition to NAnt, but I have a question relating to it. I created a template of the AssemblyInfo.cs as AssemblyInfo.txt, replacing [assembly: AssemblyVersion("0.0.0.0")] with [assembly: AssemblyVersion("@version@")] I am confused on how to get the version number from a fi

Re: [Nant-users] Build Number Generation?

2002-06-21 Thread Brad Wilson
Mackay, Colin wrote: > Hi, > Has anyone got an example of how to set up a Nant build file that generates > and uses incremental build numbers. John Lam has been working on some NAnt build scripts lately, and that's one of them. Check out his web log at http://www.iunknown.com/ . Brad -- Read

[Nant-users] Build Number Generation?

2002-06-21 Thread Mackay, Colin
Title: Build Number Generation? Hi, Has anyone got an example of how to set up a Nant build file that generates and uses incremental build numbers. Thanks, Colin   ***