gbaychev / NClass

NClass - the free UML editor, reloaded
GNU General Public License v3.0
172 stars 50 forks source link

Can't load assembly - FileNotFoundException #56

Open juh9870 opened 3 years ago

juh9870 commented 3 years ago

When trying to load dll file from my university project i noticed that i can't load any dll built in this project, import is failing with following error: image

Dll file i'm tring to import. Data.zip

gbaychev commented 3 years ago

Hello, thank you for reporting and I'm terribly sorry that I'm that slow to respond, I'm going to have a look.

gbaychev commented 3 years ago

Ok, it appears that you're trying to load a .net core dll, is this correct? If this is the case, as a workaround you can retarget your project to .netstandard2.0+ or add the following to your csproj file and try again:

<PropertyGroup>
    ...
    <UseNETCoreGenerator>true</UseNETCoreGenerator>
  </PropertyGroup>