Failed to load assembly, exception from HRESULT: 0x80131040

An exception:

Failed to load file or assembly 'WPFVisifire.Charts, Version = 4.1.0.0, Culture = neutral, PublicKeyToken = 99d724542e4db593' or one of its dependencies. The located assembly manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

We work with our software for exchanging exchanges using Visifire. We have two versions of applications. The online version of Silverlight and the desktop version of WPF. I have already created the Silverlight application and it works well. The same code that I copied in a WPF application, but the WPF chart application throws an exception.

Im very new to clean networks. Please, help.

+6
source share
1 answer

Are you using Windows7?

I suggest you follow these steps.

  • Remove the link to WPFVisifire.Charts.dll and WPFToolkit.dll (if used) from your project.
  • Clean up the project.
  • Close the application.
  • Right-click no WPFVisifire.Charts.dll and WPFToolkit.dll (if used), then click on the properties.
  • Click on the "General" tab.
  • Click the "Unblock" button.
  • Now open your project in Visual Studio.
  • Add a new link to unblocked WPFVisifire.Charts.dll and WPFToolkit.dll (if used).
  • Compile the project and run it.
+4
source

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


All Articles