Free cookie consent management tool by TermsFeed Policy Generator

Changeset 5781


Ignore:
Timestamp:
03/21/11 21:23:24 (14 years ago)
Author:
epitzer
Message:

Use only the assembly name without version information when activating assemblies in ProgrammableOperator (#1404)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Operators.Programmable/3.3/ProgrammableOperator.cs

    r5445 r5781  
    8686      }
    8787      set {
    88         var selectedAssemblyNames = new HashSet<string>(value);
     88        var selectedAssemblyNames = new HashSet<string>(value.Select(n => new AssemblyName(n).Name));
    8989        foreach (var a in Assemblies.Keys.ToList()) {
    90           Assemblies[a] = selectedAssemblyNames.Contains(a.FullName);
     90          Assemblies[a] = selectedAssemblyNames.Contains(new AssemblyName(a.FullName).Name);
    9191        }
    9292      }
Note: See TracChangeset for help on using the changeset viewer.