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 180 by william, Fri May 11 11:37:14 2012 UTC vs.
Revision 181 by william, Mon May 28 10:03:08 2012 UTC

# Line 40 | Line 40 | namespace MSBuild_CurrentVersion
40                      //if (ns.Contains("CorePlugins")) { ns = string.Format("{0}.{1}", t.Namespace, t.Name); }
41                      //if (ns.Contains("Be.Windows.Forms")) { ns = pair.Key; }
42                      FileVersionInfo fvi = FileVersionInfo.GetVersionInfo(asm.Location);
43 +                    string version = fvi.FileVersion;
44 + #if DEBUG
45 +                    version.Replace("-release", "-debug");
46 + #endif
47 + #if RELEASE
48 +                   version.Replace("-debug", "-release");
49 + #endif
50 +
51                      Console.WriteLine(string.Format("    {0} v{1}-{2}", pair.Key, fvi.FileVersion, GetAssemblyArchitecture(asm)));
52                      sw.WriteLine(string.Format("    {0} v{1}-{2}", pair.Key, fvi.FileVersion, GetAssemblyArchitecture(asm)));
53                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines