Last post Feb 09, 2016 03:40 PM by williamj7
Dec 28, 2015 09:01 PM|williamj7|LINK
My older website project (upgraded to .NET 4.5) is giving this error:
Error Reference.svcmap: Could not load file or assembly 'System.Xml, Version=126.96.36.199, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified. App_WebReferences/VideoService/
How do I include this assembly?
The website project already has System.Xml 4.0 included when I attempt to include the reference. (The assembly is not shown in the bin folder.)
I have already included an assembly binding in the web.config file, but am still getting the error.
<assemblyIdentity name="System.Xml" culture="neutral" publicKeyToken="7cec85d7bea7798e"/>
<codeBase version="188.8.131.52" href="FILE://C:/Windows/Microsoft.NET/Framework/2.0.50727/System.Xml.dll"/>
Dec 29, 2015 08:22 AM|Angie xu - MSFT|LINK
Please make sure your .NET framework is patched.
Microsoft released patches to .NET to allow Portable Class Libraries to properly find the appropriate runtime (KB2468871).
If you are seeing the above exception (or something like it e.g. System.Core), it means you’re missing the latest .NET framework patches.
Dec 29, 2015 02:06 PM|williamj7|LINK
The installer said, "does not apply, or is blocked by another condition on your computer."
Jan 07, 2016 09:22 AM|Angie xu - MSFT|LINK
You can use Fuslogvw.exe to find out which is loading the old assemblies.
The Assembly Binding Log Viewer displays details for assembly binds.
This information helps you diagnose why the .NET Framework cannot locate an assembly at run time. More information:
Jan 15, 2016 03:42 PM|williamj7|LINK
Is this a runtime tool?
I cannot build my app.
Feb 09, 2016 03:40 PM|williamj7|LINK
I had Microsoft Support solve this issue.
Set ReferenceAllAssemblies to false in DavidSearchEngine\App_WebReferences\VideoService\Reference.svcmap