Standard library with a core console


(JohnMoshakis) #1

Hi,
When I try and run the attached I get

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly ‘ClassLibrary, Version=1.0.0.1, Culture=neutral, PublicKeyToken=null’. The system cannot find the file specified.

Abort trap: 6

All the references appear to be there and Ive been able to call a standard library from the .net framework and mono.

DataConsoleApplication.zip (547.1 KB)

Cheers,
John


(marc hoffman) #2

Hmm, odd. yeah. the file is there, yet it cant find it. Wonder if .NET Core needs something special in the .deps.json o tell it where tom load dlls from, and does not automatically check the current folder…

If you create a similar project combo in VC#, and compare (a) the output folder and (b) the .deps file, any notable differences?


(JohnMoshakis) #3

CallStandard.deps.json (727 Bytes)

Yes it makes mention of StandLibrary which is the class library


(marc hoffman) #4

I’ll have a look


(marc hoffman) #5

DataConsoleApplication.deps.json (2.7 KB)

This one works. will fix.


(marc hoffman) #6

in. 20181230-214832-elements-develop (eta ~45 mins) and later will have the fix.


(JohnMoshakis) #7

Did the fix for this get pushed ? The build hasn’t appeared.


(JohnMoshakis) #8

I tried the latest from Firehose and it works. Thanks.