Add Link Adds Invalid Link

I am working on a SL application that should reference System.Xml.dll. So I "Add Reference ..." in the project and look at the dll shared folder into which I copied the version of Silverlight 4.0 to System.Xml.dll.

The problem is that the link is added as pointing to

C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.0 \ System.Xml.dll

which then leads me (I think) to the fact that when defining the application, "The located definition of the assembly manifest does not match the assembly reference" when I try to start the application. The AssemblyBinding in web.config does not look redirected, and I tried to set the project reference path, but still no luck.

Any better ideas?

Thanks,

John

+6
source share
2 answers

As this seems to continue to browse, I will officially add the answer:

Adding the tooltip manually (XML editor) to the link in the csproj file did the trick.

+3
source

I looked in the properties of the Reference DLL, and the path was completely wrong, nothing looks like what I would expect as a random location that just had a very old version of the DLL. I deleted the file and my dll ad is over.

0
source

Source: https://habr.com/ru/post/896503/


All Articles