Changeset 558
- Timestamp:
- 11/14/2008 6:44:23 AM (3 years ago)
- File:
-
- 1 edited
-
branches/eraser6/Manager/Plugins.cs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/Manager/Plugins.cs
r418 r558 96 96 { 97 97 AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler(AssemblyResolve); 98 foreach (string fileName in Directory.GetFiles(PLUGINSFOLDER)) 98 string pluginsFolder = Path.Combine( 99 Path.GetDirectoryName(Assembly.GetEntryAssembly().Location), //Assembly location 100 PLUGINSFOLDER //Plugins folder 101 ); 102 103 foreach (string fileName in Directory.GetFiles(pluginsFolder)) 99 104 { 100 105 FileInfo file = new FileInfo(fileName); … … 115 120 /// The path to the folder containing the plugins. 116 121 /// </summary> 117 public const string PLUGINSFOLDER = "Plugins /";122 public const string PLUGINSFOLDER = "Plugins"; 118 123 119 124 public override List<PluginInstance> Plugins
Note: See TracChangeset
for help on using the changeset viewer.
