Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic "Could not load file or assembly 'MindFusion.Graphs' " is thrown.. what I'm supposed to do? (Read 3548 times)
Homam
Junior Member
**
Offline


I Love MindFusion!

Posts: 67
Joined: Feb 7th, 2012
"Could not load file or assembly 'MindFusion.Graphs' " is thrown.. what I'm supposed to do?
Sep 9th, 2012 at 8:01am
Print Post  
I'm using the Diagram control in a WPF application. The following exception is thrown in runtime:

Could not load file or assembly 'MindFusion.Graphs, Version=2.2.0.13651, Culture=neutral, PublicKeyToken=0d09f0b4914ade28' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)


Knowing that I added references for:
MindFusion.Common
              .Diagramming
              .Diagramming.Wpf
              .Graphs

What I'm supposed to do?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: "Could not load file or assembly 'MindFusion.Graphs' " is thrown.. what I'm supposed to do?
Reply #1 - Sep 10th, 2012 at 6:52am
Print Post  
Quote:
.Diagramming
.Diagramming.Wpf


Do you mean you are using both the Windows Forms and the WPF versions of the control in the same project? If that's not intended, remove one of the assemblies and ensure graphs.dll is referenced from the same folder as the remaining diagramming assembly.

If you need to use both WinForms and WPF assemblies, you might have to install an older version for one of them that was built against the same graphs.dll version. Having close release dates as listed at http://mindfusion.eu/Forum/YaBB.pl?board=fcnet_news usually means both controls will use the same version of shared assemblies.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint