/[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 186 by william, Mon May 28 10:26:01 2012 UTC revision 823 by william, Tue Apr 15 19:35:55 2014 UTC
# Line 25  namespace MSBuild_CurrentVersion Line 25  namespace MSBuild_CurrentVersion
25    
26              string version_file = "current-version.txt";              string version_file = "current-version.txt";
27              string full_path = string.Format(@"{0}\{1}", asm_path,version_file);              string full_path = string.Format(@"{0}\{1}", asm_path,version_file);
28              using (FileStream fs = new FileStream(full_path, FileMode.OpenOrCreate, FileAccess.ReadWrite, FileShare.ReadWrite))              FileInfo fi = new FileInfo(full_path);
29                if (fi.Exists) fi.Delete();
30                using (FileStream fs = new FileStream(full_path, FileMode.CreateNew, FileAccess.ReadWrite, FileShare.ReadWrite))
31              {              {
32                  StreamWriter sw = new StreamWriter(fs);                  StreamWriter sw = new StreamWriter(fs);
33                  sw.AutoFlush = true;                  sw.AutoFlush = true;
# Line 74  namespace MSBuild_CurrentVersion Line 76  namespace MSBuild_CurrentVersion
76              #region assemblies              #region assemblies
77              dict.Add("RomCheater.Core.dll", typeof(RomCheater.Core.dummy));              dict.Add("RomCheater.Core.dll", typeof(RomCheater.Core.dummy));
78              dict.Add("RomCheater.exe", typeof(RomCheater.Main));                          dict.Add("RomCheater.exe", typeof(RomCheater.Main));            
79              dict.Add("RomCheater.Logging.dll", typeof(RomCheater.Logging.logger));              dict.Add("RomCheater.Logging.dll", typeof(RomCheater.Logging.LoggingConstants));
80              dict.Add("RomCheater.PluginFramework.dll", typeof(RomCheater.PluginFramework.dummy));              dict.Add("RomCheater.PluginFramework.dll", typeof(RomCheater.PluginFramework.dummy));
81              dict.Add("RomCheater.UserSettingsSupport.dll", typeof(RomCheater.UserSettingsSupport.SettingSubscriber));              dict.Add("RomCheater.UserSettingsSupport.dll", typeof(RomCheater.UserSettingsSupport.SettingSubscriber));
82              dict.Add("RomCheater.CorePlugins.dll", typeof(RomCheater.CorePlugins.Config.GenericConfig));              dict.Add("RomCheater.CorePlugins.dll", typeof(RomCheater.CorePlugins.Config.GenericConfig));
# Line 89  namespace MSBuild_CurrentVersion Line 91  namespace MSBuild_CurrentVersion
91              dict.Add("Utilities.TransparentControls.dll", typeof(Utilities.TransparentControls.Win32));              dict.Add("Utilities.TransparentControls.dll", typeof(Utilities.TransparentControls.Win32));
92              dict.Add("ManagedWinapi.dll", typeof(ManagedWinapi.ClipboardNotifier));              dict.Add("ManagedWinapi.dll", typeof(ManagedWinapi.ClipboardNotifier));
93              dict.Add("WeifenLuo.WinFormsUI.Docking.dll", typeof(WeifenLuo.WinFormsUI.Docking.DockPanel));              dict.Add("WeifenLuo.WinFormsUI.Docking.dll", typeof(WeifenLuo.WinFormsUI.Docking.DockPanel));
94                dict.Add("Enterprise.Logging.dll", typeof(Enterprise.Logging.gLog));
95              #endregion              #endregion
96    
97              #endregion              #endregion

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

  ViewVC Help
Powered by ViewVC 1.1.22