Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Licence issue after updating dlls to version 2018.R1 (Read 2106 times)
JohnDoe
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 2
Joined: Jun 11th, 2020
Licence issue after updating dlls to version 2018.R1
Jun 11th, 2020 at 9:26am
Print Post  
Hello

In my WPF application, I updated all dlls to version 2018.R1, but I am facing a problem.

If I empty out the licenses.licx file (i.e. clear everything that was there and just have an empty file), the solution builds fine in Visual Studio and I can run the project, however I get a banner telling me I'm using a trial version.

If I don't empty out the licenses.licx (i.e. leave what was there before), the solution fails to build and I can't run anything.

The error I get is:

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


What am I missing? How do I overcome this error? What should the file licenses.licx contain?
  
Back to top
 
IP Logged
 
Slavcho
God Member
*****
Offline


tech.support

Posts: 3347
Joined: Oct 19th, 2005
Re: Licence issue after updating dlls to version 2018.R1
Reply #1 - Jun 11th, 2020 at 9:31am
Print Post  
Hi,

licx file is not used anymore, remove the diagram line from it, or even delete the whole file if there's nothing else inside. Instead set diagram's LicenseKey property.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
JohnDoe
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 2
Joined: Jun 11th, 2020
Re: Licence issue after updating dlls to version 2018.R1
Reply #2 - Jun 11th, 2020 at 10:13am
Print Post  
Thanks Slavcho. I went ahead and used:

Quote:
MindFusion.Licensing.LicenseManager.AddLicense(key)


As per docs here.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint