netcorehost
netcorehost copied to clipboard
Executing from Bytes instead of from Disk
There is a Load method from which you can load an assembly from Bytes in memory versus having the path on disk. I have been unable to find support for this in this crate. Are there any plans for this, or is there anyway it is already possible?
I think the appropriate API is only available in hostpolicy
, while this crate only uses hostfxr
.
This was added with .NET 8: https://github.com/dotnet/runtime/blob/main/docs/design/features/native-hosting.md#loading-managed-components-net-8-and-above
Implemented in 5c3e985dab37981fb944417c3bbc8f9fd4637ea4
Published in 0.15.0