Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic FileNotFound when using SDK Style Project and nuget Reference (Read 2541 times)
benjamin huser
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 26
Joined: Oct 23rd, 2014
FileNotFound when using SDK Style Project and nuget Reference
Aug 19th, 2020 at 3:23pm
Print Post  
Hi

we started changing our solution to the new "SDK Style" project to make use of the slimmer csproj format and be ready to move to netcore in the future.

While doing that we realized that we suddenly have FileNotFound exceptions for some Mindfusion dll's that are not in the list of "Compile Time Assemblies", for example "MindFusion.Barcodes" or "MindFusion.Graphs".

Before we had a lot of references in the csproj files (that were added as part of the nuget install) like these:
"<Reference Include="MindFusion.Common.Wpf, Version=1.0.1.453, Culture=neutral, PublicKeyToken=dd7449df9ffcc455, processorArchitecture=MSIL">
      <HintPath>..\..\Packages\MindFusion.Diagramming.Wpf.3.5.5\lib\net45\MindFusion.C
ommon.Wpf.dll</HintPath>
    </Reference>"
Even though the dll's like Barcode or Graphs were not mentioned there, it would copy them into the bin directory.

Now we're just doing it like this:
"<PackageReference Include="MindFusion.Diagramming.Wpf" Version="3.5.5" />"

Are we doing something wrong or is there a problem with the nuget package?

Thank you for the support.

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


tech.support

Posts: 3171
Joined: Oct 19th, 2005
Re: FileNotFound when using SDK Style Project and nuget Reference
Reply #1 - Aug 20th, 2020 at 1:01pm
Print Post  
Hi,

Are you using some tool to convert standard wpf project created by VS? We've added these assemblies as explicit references here, check if new package works for you -
https://www.nuget.org/packages/MindFusion.Diagramming.Wpf

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


I Love MindFusion!

Posts: 26
Joined: Oct 23rd, 2014
Re: FileNotFound when using SDK Style Project and nuget Reference
Reply #2 - Aug 20th, 2020 at 2:05pm
Print Post  
Hi Slavcho

yes we used a tool at least partially for converting.

Awesome, thanks for the new version - yes that seems to solve the problem - you guys rock!

Best Regards
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3171
Joined: Oct 19th, 2005
Re: FileNotFound when using SDK Style Project and nuget Reference
Reply #3 - Aug 20th, 2020 at 2:08pm
Print Post  
Hi,

Could you share with us the tool name, so we can create some test projects for our testing too Smiley

Best regards,
Slavcho
  
Back to top
 
IP Logged
 
Janne Rantanen
Ex Member


Re: FileNotFound when using SDK Style Project and nuget Reference
Reply #4 - Aug 24th, 2020 at 7:30am
Print Post  
Hi Slavcho, the tool we used for converting was CsprojToVs2017 by user Hvanbakel on GitHub, I'd post the direct link but I can't post links as this is my first post Grin

I first used the tool to convert, and then tried to manually clean up and fix anything the tool missed.
  
Back to top
 
IP Logged
 
benjamin huser
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 26
Joined: Oct 23rd, 2014
Re: FileNotFound when using SDK Style Project and nuget Reference
Reply #5 - Aug 24th, 2020 at 8:14am
Print Post  
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3171
Joined: Oct 19th, 2005
Re: FileNotFound when using SDK Style Project and nuget Reference
Reply #6 - Aug 24th, 2020 at 9:36am
Print Post  
Thank you!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint