locked
MEF Problem "Could not load file or assembly System.Windows..." RRS feed

  • Question

  • Hi there

    I'm getting the error message as follwoing:

    Could not load file or assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified

    at the moment of the following code execution:

    CompositionInitializer.SatisfyImports(this);

    My code is trying to match the follwoing import

    [Import(typeof(IDTAppConfigurationInterface))]

    private IDTAppConfigurationInterface ac;

    And the export part is as follwoing:

    [Export(typeof(IDTAppConfigurationInterface))]

    public class IDTAppConfiguration : IDTAppConfigurationInterface

    What is the reason of error message raising? Any clue?

    Thanks.

    Wednesday, October 10, 2012 9:03 PM