Free cookie consent management tool by TermsFeed Policy Generator

Changeset 2644 for trunk/sources


Ignore:
Timestamp:
01/19/10 15:46:11 (15 years ago)
Author:
mkommend
Message:

fixed string comparison in GetTypes method of the ApplicationManager;
necessary because on x64 systems the drive letter could be lower or upper case
(ticket #799)

File:
1 edited

Legend:

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

    r2642 r2644  
    214214      return from asm in AppDomain.CurrentDomain.GetAssemblies()
    215215             where !string.IsNullOrEmpty(asm.Location) &&
    216                    pluginDesc.Assemblies.Any(asmPath => Path.GetFullPath(asmPath) == Path.GetFullPath(asm.Location))
     216                   pluginDesc.Assemblies.Any(asmPath =>
     217                     Path.GetFullPath(asmPath).Equals(Path.GetFullPath(asm.Location),
     218                                                      StringComparison.CurrentCultureIgnoreCase))
    217219             from t in GetTypes(type, asm, onlyInstantiable)
    218220             select t;
Note: See TracChangeset for help on using the changeset viewer.