Problem with assembly loading in .NET
Posted
by Jamie
on Stack Overflow
See other posts from Stack Overflow
or by Jamie
Published on 2010-06-01T17:03:14Z
Indexed on
2010/06/01
17:23 UTC
Read the original article
Hit count: 254
Hi guys,
I have got two projects in my solution: Silverlight and standard one. The standard one references System.Xml assembly (version 4.0.0.0), however the Silverlight one references System.Xml assembly (v. 2.0.5.0). I want to make an instance of XmlWriter in my Silverlight project. Here comes the problem - the exception is thrown (file not found for System.Xml assembly). I believe it is a matter of different assembly versions.
Do you have any idea how to resolve this issue? Ive read something about the binding redirection - is it the key to the solution? If so, how to do this?
Thank you in advance for the reply!
Cheers.
© Stack Overflow or respective owner