Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/07/11 12:49:03 (14 years ago)
Author:
mkommend
Message:

#1479: Merged trunk changes into branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GP.Grammar.Editor/HeuristicLab.PluginInfrastructure/3.3/Manager/PluginValidator.cs

    r6021 r6377  
    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.