smx-smx / EzDotnet

Load a C# assembly from a native executable or a shared library
zlib License
11 stars 4 forks source link

getHostFxrPath should look for "nethost" in the same folder as the published project #1

Closed smx-smx closed 1 year ago

smx-smx commented 1 year ago

Current behavior (nethost is looked up in the current working directory instead of the assembly folder)

[clrInit]:
[getHostFxrPath]: failed to load nethost
[clrInit]: getHostFxrPath failed