Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/05/10 11:46:20 (15 years ago)
Author:
gkronber
Message:

Fixed minor problem in type discovery. #799

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.PluginInfrastructure/ApplicationManager.cs

    r2592 r2594  
    211211      PluginDescription pluginDesc = (PluginDescription)pluginDescription;
    212212      return from asm in AppDomain.CurrentDomain.GetAssemblies()
    213              where pluginDesc.Assemblies.Any(asmPath => Path.GetFullPath(asmPath) == Path.GetFullPath(asm.Location))
     213             where !string.IsNullOrEmpty(asm.Location ) &&
     214                   pluginDesc.Assemblies.Any(asmPath => Path.GetFullPath(asmPath) == Path.GetFullPath(asm.Location))
    214215             from t in GetTypes(type, asm)
    215216             select t;
Note: See TracChangeset for help on using the changeset viewer.