/[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 118 by william, Thu May 10 18:25:36 2012 UTC revision 186 by william, Mon May 28 10:26:01 2012 UTC
# Line 40  namespace MSBuild_CurrentVersion Line 40  namespace MSBuild_CurrentVersion
40                      //if (ns.Contains("CorePlugins")) { ns = string.Format("{0}.{1}", t.Namespace, t.Name); }                      //if (ns.Contains("CorePlugins")) { ns = string.Format("{0}.{1}", t.Namespace, t.Name); }
41                      //if (ns.Contains("Be.Windows.Forms")) { ns = pair.Key; }                      //if (ns.Contains("Be.Windows.Forms")) { ns = pair.Key; }
42                      FileVersionInfo fvi = FileVersionInfo.GetVersionInfo(asm.Location);                      FileVersionInfo fvi = FileVersionInfo.GetVersionInfo(asm.Location);
43                      Console.WriteLine(string.Format("    {0} v{1}-{2}", pair.Key, fvi.FileVersion, GetAssemblyArchitecture(asm)));                      string version = fvi.FileVersion;
44                      sw.WriteLine(string.Format("    {0} v{1}-{2}", pair.Key, fvi.FileVersion, GetAssemblyArchitecture(asm)));  #if DEBUG
45                        version = string.Format("{0}", version);
46                        
47    #endif
48    #if RELEASE
49                       version = version.Replace("-debug", "-release");
50    #endif
51    
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();                                  sw.Close();                
56              }              }
# Line 63  namespace MSBuild_CurrentVersion Line 72  namespace MSBuild_CurrentVersion
72              Dictionary<string, Type> dict = new Dictionary<string, Type>();              Dictionary<string, Type> dict = new Dictionary<string, Type>();
73    
74              #region assemblies              #region assemblies
75              dict.Add("RomCheater.exe", typeof(RomCheater.Main));              dict.Add("RomCheater.Core.dll", typeof(RomCheater.Core.dummy));
76                            dict.Add("RomCheater.exe", typeof(RomCheater.Main));            
77              dict.Add("RomCheater.Logging.dll", typeof(RomCheater.Logging.logger));              dict.Add("RomCheater.Logging.dll", typeof(RomCheater.Logging.logger));
78              dict.Add("RomCheater.PluginFramework.dll", typeof(RomCheater.PluginFramework.dummy));              dict.Add("RomCheater.PluginFramework.dll", typeof(RomCheater.PluginFramework.dummy));
79              dict.Add("RomCheater.UserSettingsSupport.dll", typeof(RomCheater.UserSettingsSupport.SettingSubscriber));              dict.Add("RomCheater.UserSettingsSupport.dll", typeof(RomCheater.UserSettingsSupport.SettingSubscriber));
# Line 78  namespace MSBuild_CurrentVersion Line 87  namespace MSBuild_CurrentVersion
87              #region deps              #region deps
88              dict.Add("Be.Windows.Forms.HexBox.dll", typeof(Be.Windows.Forms.HexBox));              dict.Add("Be.Windows.Forms.HexBox.dll", typeof(Be.Windows.Forms.HexBox));
89              dict.Add("Utilities.TransparentControls.dll", typeof(Utilities.TransparentControls.Win32));              dict.Add("Utilities.TransparentControls.dll", typeof(Utilities.TransparentControls.Win32));
90                dict.Add("ManagedWinapi.dll", typeof(ManagedWinapi.ClipboardNotifier));
91                dict.Add("WeifenLuo.WinFormsUI.Docking.dll", typeof(WeifenLuo.WinFormsUI.Docking.DockPanel));
92              #endregion              #endregion
93    
94              #endregion              #endregion

Legend:
Removed from v.118  
changed lines
  Added in v.186

  ViewVC Help
Powered by ViewVC 1.1.22