Closed chenjing1294 closed 1 year ago
Probably caused because a native library (libjava I'm guessing) is loaded in java.net.NetworkInterface's type initializer somewhere, and the java.dll and other files, during release, are copied into the bin/ directory directly, instead of being nested under runtimes/native. This is an odd property of the .NET SDK. When specifying a RID, the files are moved from runtimes/rid into ./. Might matter for Framework. Doesn't really matter for Core. And forces the app to know both. Also .deps.json is wrong. Totally weird.
That is fixed though. Boot library path now has the path to the IKVM.Runtime.dll included.
version: 8.6.1 platform: windows 10 x64
There will be no error during software debugging, but when the software is released, the operation will report an error:
If I post using the command below, there is no problem: