Tuesday, February 22, 2011

Silverlight : Could not load file or assembly 'System.Windows, Version=, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its depend

Very irritating!

and very similar to here:

Solved as follows:

cd C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0

gacutil /i System.Windows.dll

gacutil /i System.Core.dll


  1. I have gone through your post and found some information which is quite important for me.
    So, please keep it up with your these kind of posts.
    Infinite Air Conditioner Compressor

  2. This is a nice article..
    Its very easy to understand ..
    And this article is using to learn something about it..
    asp.net, c#, javascript
    Thanks a lot..!

  3. I have read a few good stuff here. Certainly worth bookmarking for revisiting. I wonder how much effort you put to create such a fantastic informative site.
    Mazda Supercharger

  4. Chevrolet W4 Turbocharger
    Nice post, thanks for sharing this wonderful and useful information with us.

  5. After this change, opening a XAML file in my VS 2010 crashes the IDE

  6. Thank you for good help ! It worked for me !

  7. I was getting following error in silverlight 5 project.

    The located assembly's manifest definition does not match the assembly reference. (System.Windows.dll)

    This solution worked for me