[nant-dev] RE: [Nant-users] How do one update the AssemblyVersion build number?

2003-09-17 Thread Vincent Labatut
use the version task and the asminfo task ! split your assemblyinfo.cs in two - one is maintained manually and contains everything but the assembly version attribute - the other one will be auto-generated by the asminfo task and will contain the version number from the version task.

[nant-dev] Re: [Nant-users] How do one update the AssemblyVersion build number?

2003-09-16 Thread Jaroslaw Kowalski
You can use my trick: The technique consists of: 1. A plain text file that holds nothing but a version number AA.BB.CC.DD (version.txt) 2. A small C# utility that increments one of the components in the file (NewBuild.exe) 3.A small C# utility that replaces AssemblyVersion(...) in all

[nant-dev] RE: [Nant-users] How do one update the AssemblyVersion build number?

2003-09-16 Thread Anthony LoveFrancisco
Title: Message In ReplaceVersion.cs, I wonder if DirectoryInfo.GetFiles(string) to see if the AssemblyInfo.cs file exists. - Ants -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jaroslaw KowalskiSent: Tuesday, 16 September, 2003

Re: [nant-dev] RE: [Nant-users] How do one update the AssemblyVersion build number?

2003-09-16 Thread Jaroslaw Kowalski
' ; 'Daniel Nguyen' ; [EMAIL PROTECTED] ; [EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 8:00 PM Subject: [nant-dev] RE: [Nant-users] How do one update the AssemblyVersion build number? But does your AssemblyInfo.cs file compile with a value greater than 255 in one of the build

Re: [nant-dev] RE: [Nant-users] How do one update the AssemblyVersion build number?

2003-09-16 Thread Jaroslaw Kowalski
Tuesday, September 16, 2003 8:02 PM Subject: [nant-dev] RE: [Nant-users] How do one update the AssemblyVersion build number? I like this suggestion. It's very clean and streamline. I do have a general question to though: I shot down for suggesting using awk or sed to update

RE: [nant-dev] RE: [Nant-users] How do one update the AssemblyVersion build number?

2003-09-16 Thread Anthony LoveFrancisco
Nguyen'; [EMAIL PROTECTED]; [EMAIL PROTECTED]Subject: Re: [nant-dev] RE: [Nant-users] How do one update the AssemblyVersion build number? Yes, it seems to be legal: a snapshot of my ILDASM dump: .assembly extern Sooda{ .publickeytoken = (36 D3 1D A5 0D 00 DE DD ) // 6

Re: [nant-dev] RE: [Nant-users] How do one update the AssemblyVersion build number?

2003-09-16 Thread Jaroslaw Kowalski
: RE: [nant-dev] RE: [Nant-users] How do one update the AssemblyVersion build number? Oops, sorry, my bad. I think that65535 is the upper limit for build number parts which less than Int32.Max. - Ants -Original Message-From: Jaroslaw Kowalski [mailto

RE: [nant-dev] RE: [Nant-users] How do one update the AssemblyVersion build number?

2003-09-16 Thread Anthony LoveFrancisco
Message-From: Jaroslaw Kowalski [mailto:[EMAIL PROTECTED] Sent: Tuesday, 16 September, 2003 11:52To: Anthony LoveFrancisco; 'Daniel Nguyen'; [EMAIL PROTECTED]; [EMAIL PROTECTED]Subject: Re: [nant-dev] RE: [Nant-users] How do one update the AssemblyVersion build number? Yes, but who