Page Index Toggle Pages: 1 [2]  Send TopicPrint
Very Hot Topic (More than 25 Replies) what is mindfusion.common.wpf is use for? (Read 7239 times)
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3148
Joined: Oct 19th, 2005
Re: what is mindfusion.common.wpf is use for?
Reply #15 - Oct 13th, 2021 at 11:59am
Print Post  
Quote:
And put the local build reference dll into the sample program and works fine. The rest of the references are from nuget. Please advise how to do next.


If you mean you keep some local mindfusion references and some from nuget package, then don't ... Either uninstall the nuget package and add all files from WPF Pack installation folder / .NET45 subfolder, or remove all local references and install the nuget package.

Regards,
Slavcho
  
Back to top
 
IP Logged
 
David Chiang
Junior Member
**
Offline


I Love MindFusion!

Posts: 75
Joined: Apr 15th, 2020
Re: what is mindfusion.common.wpf is use for?
Reply #16 - Oct 13th, 2021 at 12:10pm
Print Post  
I did not keep any mindfusion library in local. All the mindfusion are from nuget. The picture is all I used for libraries.
  

2021-10-13_200743.png ( 14 KB | 92 Downloads )
2021-10-13_200743.png
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3148
Joined: Oct 19th, 2005
Re: what is mindfusion.common.wpf is use for?
Reply #17 - Oct 13th, 2021 at 12:44pm
Print Post  
If some of these dll libraries is your own, check if it's not using different versions of mindfusion assemblies. Otherwise please find attached my test project, let me know what I should change to see problems.
  

WpfApp11.zip ( 18 KB | 98 Downloads )
Back to top
 
IP Logged
 
David Chiang
Junior Member
**
Offline


I Love MindFusion!

Posts: 75
Joined: Apr 15th, 2020
Re: what is mindfusion.common.wpf is use for?
Reply #18 - Oct 13th, 2021 at 12:54pm
Print Post  
I can run it without any problem. And also add key and works fine.  Embarrassed . What can I do?

Thanks
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3148
Joined: Oct 19th, 2005
Re: what is mindfusion.common.wpf is use for?
Reply #19 - Oct 13th, 2021 at 1:47pm
Print Post  
Maybe some assembly remained cached from when you installed the 2021 version; try deleting the packages subfolder under your solution folder, and then restoring the packages from solution's right-click menu in VS.
  
Back to top
 
IP Logged
 
David Chiang
Junior Member
**
Offline


I Love MindFusion!

Posts: 75
Joined: Apr 15th, 2020
Re: what is mindfusion.common.wpf is use for?
Reply #20 - Oct 14th, 2021 at 1:12am
Print Post  
try it and stay the same error. I will make a new project and put everything to new project one at a time. Hope it will works. Thanks.
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3148
Joined: Oct 19th, 2005
Re: what is mindfusion.common.wpf is use for?
Reply #21 - Oct 14th, 2021 at 6:18am
Print Post  
Before recreating project, you might try deleting bin and obj folders and rebuilding - VS might be keeping some assembly cached there. Also try Find in Files command -> *.csproj -> mindfusion to search for any local references left in the solution.

Regards,
Slavcho
  
Back to top
 
IP Logged
 
David Chiang
Junior Member
**
Offline


I Love MindFusion!

Posts: 75
Joined: Apr 15th, 2020
Re: what is mindfusion.common.wpf is use for?
Reply #22 - Oct 14th, 2021 at 10:43am
Print Post  
deleted bin and obj and rebuild but no luck. I will try to copy my project to your project and build from there. One more thing, do I need to put the licence key you all the need wpf forms or just put it in the app.xaml?

Thanks
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3148
Joined: Oct 19th, 2005
Re: what is mindfusion.common.wpf is use for?
Reply #23 - Oct 14th, 2021 at 10:52am
Print Post  
We could check the problem in your main project if you attach it as PM or send it to our support email address (delete your other code but the diagram and spreadsheet UI if you don't want to share it with us).

Calling MindFusion.Licensing.LicenseManager.AddLicense once from your application's constructor should be enough. You could set components' LicenseKey property from Xaml instead but that's not convenient if using multiple controls / in multiple windows.

Regards,
Slavcho
  
Back to top
 
IP Logged
 
David Chiang
Junior Member
**
Offline


I Love MindFusion!

Posts: 75
Joined: Apr 15th, 2020
Re: what is mindfusion.common.wpf is use for?
Reply #24 - Oct 14th, 2021 at 11:40am
Print Post  
I am just start diagram and the zip project file is 45m and other json support files to run start the project. I will try to move the project first one step at a time and see what the course and let you know. Thanks
  
Back to top
 
IP Logged
 
David Chiang
Junior Member
**
Offline


I Love MindFusion!

Posts: 75
Joined: Apr 15th, 2020
Re: what is mindfusion.common.wpf is use for?
Reply #25 - Oct 15th, 2021 at 4:10am
Print Post  
Try to build a new project by using .net 5. Apparently, it does not compatible with 5.  Is it possible to make mindfusion.pack.wpf work with .net 5. Thanks
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3148
Joined: Oct 19th, 2005
Re: what is mindfusion.common.wpf is use for?
Reply #26 - Oct 15th, 2021 at 6:30am
Print Post  
.NET 5 assemblies are available in the 2021 version.

Regards,
Slavcho
  

Untitled_023.png ( 159 KB | 95 Downloads )
Untitled_023.png
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint