Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to use export with Nuget-Package (Read 2556 times)
KillaChris19
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 8
Joined: Mar 9th, 2018
How to use export with Nuget-Package
Jan 18th, 2019 at 9:29am
Print Post  
Hello,
I'm using the nuget-package "Mindfusion.Diagramming.Wpf".

I'd like to add a functionality to export the diagram to PDF. But the required export .dlls are not contained in this nuget-package. And I can't find a nuget-package for the export .dlls.

Is there any other nuget-package I'm missing?
  
Back to top
 
IP Logged
 
Lyubo
God Member
*****
Offline


MindFusion team

Posts: 511
Joined: Jun 17th, 2010
Re: How to use export with Nuget-Package
Reply #1 - Jan 18th, 2019 at 9:54am
Print Post  
Hi,

The required assemblies are deployed along with the nuget package, but are not referenced automatically by the project.

You can add the reference yourself, by locating them in the .\packages\MindFusion.Diagramming.Wpf.3.5.3.2\lib\ folder. That directory contains the assemblies for the .NET 3.5, 4.0 and 4.5 versions and for exporting to PDF you'll need to reference the MindFusion.Diagramming.Wpf.PdfExport and MindFusion.Pdf dlls.

Regards,
Lyubo
  
Back to top
 
IP Logged
 
KillaChris19
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 8
Joined: Mar 9th, 2018
Re: How to use export with Nuget-Package
Reply #2 - Jan 18th, 2019 at 11:31am
Print Post  
Unfortunately this isn't that easy. We are not using packages.config, but package references.

So we don't have a packages folder in our project, but one common folder where all nuget packages are located. And this folder can be configurated so it can be located anywhere on the system. We are working in a team so that would cause problems, because we have different nuget paths.
  
Back to top
 
IP Logged
 
Lyubo
God Member
*****
Offline


MindFusion team

Posts: 511
Joined: Jun 17th, 2010
Re: How to use export with Nuget-Package
Reply #3 - Jan 18th, 2019 at 3:07pm
Print Post  
Hi,

We'll include the rest of the assemblies as references in the package for the next release.

Regards,
Lyubo
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint