Changeset 5632
- Timestamp:
- 03/08/11 12:06:12 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure/3.3/DefaultApplicationManager.cs
r5445 r5632 100 100 foreach (var desc in PluginDescriptionIterator.IterateDependenciesBottomUp(plugins.Where(x => x.PluginState != PluginState.Disabled))) { 101 101 foreach (string fileName in desc.AssemblyLocations) { 102 var asm = Assembly.LoadFrom(fileName); 102 // load assembly reflection only first to get the full assembly name 103 var reflectionOnlyAssembly = Assembly.ReflectionOnlyLoadFrom(fileName); 104 // load the assembly into execution context using full assembly name 105 var asm = Assembly.Load(reflectionOnlyAssembly.FullName); 103 106 RegisterLoadedAssembly(asm); 104 107 // instantiate and load all plugins in this assembly
Note: See TracChangeset
for help on using the changeset viewer.