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 117 by william, Thu May 10 18:12:06 2012 UTC vs.
Revision 127 by william, Fri May 11 11:04:20 2012 UTC

--- trunk/MSBuild_CurrentVersion/Program.cs	2012/05/10 18:12:06	117
+++ trunk/MSBuild_CurrentVersion/Program.cs	2012/05/11 11:04:20	127
@@ -40,8 +40,8 @@ namespace MSBuild_CurrentVersion
                     //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)));
+                    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)));
                 }
                 sw.Close();                
             }
@@ -53,9 +53,9 @@ namespace MSBuild_CurrentVersion
 
             foreach (ProcessorAssemblyArchitecture arch in attributes)
             {
-                return arch.ProcessorArchitecture;
+                return arch.Architecture;
             }
-            return ProcessorAssemblyArchitecture.Undefined;
+            return ProcessorAssemblyArchitecture.GetProcessorArchitecture(t);
         }
 
         static Dictionary<string, Type> CreateAssemblyDictonary()
@@ -63,8 +63,8 @@ namespace MSBuild_CurrentVersion
             Dictionary<string, Type> dict = new Dictionary<string, Type>();
 
             #region assemblies
-            dict.Add("RomCheater.exe", typeof(RomCheater.Main));
-            
+            dict.Add("RomCheater.Core.dll", typeof(RomCheater.Core.dummy));
+            dict.Add("RomCheater.exe", typeof(RomCheater.Main));            
             dict.Add("RomCheater.Logging.dll", typeof(RomCheater.Logging.logger));
             dict.Add("RomCheater.PluginFramework.dll", typeof(RomCheater.PluginFramework.dummy));
             dict.Add("RomCheater.UserSettingsSupport.dll", typeof(RomCheater.UserSettingsSupport.SettingSubscriber));
@@ -78,6 +78,8 @@ namespace MSBuild_CurrentVersion
             #region deps
             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