Could not load assembly, Exception from HRESULT: 0x80131040
Exception:
Could not load file or assembly 'WPFVisifire.Charts, Version=4.1.0.0, Culture=neutral, PublicKeyToken=99d724542e4db593' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
We are w开发者_JAVA百科orking with our stock exchange charting application using Visifire. We have two app versions. Online Silverlight version and desktop WPF version. I already created Silverlight application and its working well. Same code I copied in WPF application but WPF chart application throws exception.
I’m very new to dot net development. Please help.
Are you using Windows7 OS?
I suggest you to follow the steps below.
- Remove reference of WPFVisifire.Charts.dll and WPFToolkit.dll (if used) from your project.
- Clean your project.
- Close the application.
- Right click no WPFVisifire.Charts.dll and WPFToolkit.dll(if used) then click on properties.
- Go to General Tab.
- Click on Unblock button.
- Now open your project in Visual Studio.
- Add new reference to unblocked WPFVisifire.Charts.dll and WPFToolkit.dll(if used).
- Compile your project and run.
精彩评论