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

--- trunk/MSBuild_CurrentVersion/Program.cs	2012/05/28 10:03:08	181
+++ trunk/MSBuild_CurrentVersion/Program.cs	2012/05/28 10:08:44	182
@@ -42,10 +42,10 @@ namespace MSBuild_CurrentVersion
                     FileVersionInfo fvi = FileVersionInfo.GetVersionInfo(asm.Location);
                     string version = fvi.FileVersion;
 #if DEBUG
-                    version.Replace("-release", "-debug");
+                    version = string.Format("{0}-debug", version);
 #endif
 #if RELEASE
-                   version.Replace("-debug", "-release");
+                   version = string.Format("{0}-release", version);
 #endif
 
                     Console.WriteLine(string.Format("    {0} v{1}-{2}", pair.Key, fvi.FileVersion, GetAssemblyArchitecture(asm)));