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 185 by william, Mon May 28 10:14:03 2012 UTC vs.
Revision 186 by william, Mon May 28 10:26:01 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 = string.Format("{0}-debug", version);
45 >                    version = string.Format("{0}", version);
46 >                    
47   #endif
48   #if RELEASE
49 <                   version = string.Format("{0}-release", version);
49 >                   version = version.Replace("-debug", "-release");
50   #endif
51  
52 <                   Console.WriteLine(string.Format("    {0} v{1}-{2}", pair.Key, version, GetAssemblyArchitecture(asm)));
52 >                    Console.WriteLine(string.Format("    {0} v{1}-{2}", pair.Key, version, GetAssemblyArchitecture(asm)));
53                     sw.WriteLine(string.Format("    {0} v{1}-{2}", pair.Key, version, GetAssemblyArchitecture(asm)));
54                  }
55                  sw.Close();                

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines