Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/26/11 14:49:10 (14 years ago)
Author:
gkronber
Message:

#1458: fixed a bug in the plugin infrastructure that occurs when referenced assemblies for a plugin are missing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Manager/PluginValidator.cs

    r6021 r6298  
    406406    // and sets the dependencies in the plugin descriptions
    407407    private void BuildDependencyTree(IEnumerable<PluginDescription> pluginDescriptions) {
    408       foreach (var desc in pluginDescriptions) {
     408      foreach (var desc in pluginDescriptions.Where(x => x.PluginState != PluginState.Disabled)) {
    409409        var missingDependencies = new List<PluginDependency>();
    410410        foreach (var dependency in pluginDependencies[desc]) {
    411411          var matchingDescriptions = from availablePlugin in pluginDescriptions
     412                                     where availablePlugin.PluginState != PluginState.Disabled
    412413                                     where availablePlugin.Name == dependency.Name
    413414                                     where IsCompatiblePluginVersion(availablePlugin.Version, dependency.Version)
Note: See TracChangeset for help on using the changeset viewer.