NClass icon indicating copy to clipboard operation
NClass copied to clipboard

Can't load assembly - FileNotFoundException

Open juh9870 opened this issue 3 years ago • 2 comments

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

juh9870 avatar Nov 04 '20 07:11 juh9870

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 avatar Nov 11 '20 18:11 gbaychev

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>

gbaychev avatar Nov 11 '20 18:11 gbaychev