/[RomCheater]/trunk/MSBuild_CurrentVersion/Program.cs
ViewVC logotype

Diff of /trunk/MSBuild_CurrentVersion/Program.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 181 by william, Mon May 28 10:03:08 2012 UTC revision 182 by william, Mon May 28 10:08:44 2012 UTC
# Line 42  namespace MSBuild_CurrentVersion Line 42  namespace MSBuild_CurrentVersion
42                      FileVersionInfo fvi = FileVersionInfo.GetVersionInfo(asm.Location);                      FileVersionInfo fvi = FileVersionInfo.GetVersionInfo(asm.Location);
43                      string version = fvi.FileVersion;                      string version = fvi.FileVersion;
44  #if DEBUG  #if DEBUG
45                      version.Replace("-release", "-debug");                      version = string.Format("{0}-debug", version);
46  #endif  #endif
47  #if RELEASE  #if RELEASE
48                     version.Replace("-debug", "-release");                     version = string.Format("{0}-release", version);
49  #endif  #endif
50    
51                      Console.WriteLine(string.Format("    {0} v{1}-{2}", pair.Key, fvi.FileVersion, GetAssemblyArchitecture(asm)));                      Console.WriteLine(string.Format("    {0} v{1}-{2}", pair.Key, fvi.FileVersion, GetAssemblyArchitecture(asm)));

Legend:
Removed from v.181  
changed lines
  Added in v.182

  ViewVC Help
Powered by ViewVC 1.1.22