/[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

--- trunk/MSBuild_CurrentVersion/Program.cs	2012/05/11 10:58:42	124
+++ trunk/MSBuild_CurrentVersion/Program.cs	2012/05/28 10:26:01	186
@@ -40,8 +40,17 @@
                     //if (ns.Contains("CorePlugins")) { ns = string.Format("{0}.{1}", t.Namespace, t.Name); }
                     //if (ns.Contains("Be.Windows.Forms")) { ns = pair.Key; }
                     FileVersionInfo fvi = FileVersionInfo.GetVersionInfo(asm.Location);
-                    Console.WriteLine(string.Format("    {0} v{1}-{2}", pair.Key, fvi.FileVersion, GetAssemblyArchitecture(asm)));
-                    sw.WriteLine(string.Format("    {0} v{1}-{2}", pair.Key, fvi.FileVersion, GetAssemblyArchitecture(asm)));
+                    string version = fvi.FileVersion;
+#if DEBUG
+                    version = string.Format("{0}", version);
+                    
+#endif
+#if RELEASE
+                   version = version.Replace("-debug", "-release");
+#endif
+
+                    Console.WriteLine(string.Format("    {0} v{1}-{2}", pair.Key, version, GetAssemblyArchitecture(asm)));
+                   sw.WriteLine(string.Format("    {0} v{1}-{2}", pair.Key, version, GetAssemblyArchitecture(asm)));
                 }
                 sw.Close();                
             }
@@ -79,6 +88,7 @@
             dict.Add("Be.Windows.Forms.HexBox.dll", typeof(Be.Windows.Forms.HexBox));
             dict.Add("Utilities.TransparentControls.dll", typeof(Utilities.TransparentControls.Win32));
             dict.Add("ManagedWinapi.dll", typeof(ManagedWinapi.ClipboardNotifier));
+            dict.Add("WeifenLuo.WinFormsUI.Docking.dll", typeof(WeifenLuo.WinFormsUI.Docking.DockPanel));
             #endregion
 
             #endregion

 

  ViewVC Help
Powered by ViewVC 1.1.22