ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/MSBuild_CurrentVersion/Program.cs
(Generate patch)

Comparing trunk/MSBuild_CurrentVersion/Program.cs (file contents):
Revision 181 by william, Mon May 28 10:03:08 2012 UTC vs.
Revision 182 by william, Mon May 28 10:08:44 2012 UTC

# Line 42 | Line 42 | namespace MSBuild_CurrentVersion
42                      FileVersionInfo fvi = FileVersionInfo.GetVersionInfo(asm.Location);
43                      string version = fvi.FileVersion;
44   #if DEBUG
45 <                    version.Replace("-release", "-debug");
45 >                    version = string.Format("{0}-debug", version);
46   #endif
47   #if RELEASE
48 <                   version.Replace("-debug", "-release");
48 >                   version = string.Format("{0}-release", version);
49   #endif
50  
51                      Console.WriteLine(string.Format("    {0} v{1}-{2}", pair.Key, fvi.FileVersion, GetAssemblyArchitecture(asm)));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines