Native Hosting .NET Runtime
Following https://dev.to/tvinko/control-net-runtime-from-native-code-473f and its repository of https://github.com/tvinko/HostWithHostFxr/ , the native host part states the following (see image)
Now, the article doesnt explain how said NuGet package is supposed to be installed? Seemingly I can select the C++ project to install a NuGet package, but it fails with the output
And now looking at the repo, it seems like what they did was wrapping the C++ project in some kind of C# project running on .NET 5? I at least see the csproj file, including the NuGet and stuff
https://github.com/tvinko/HostWithHostFxr/blob/master/HostWithHostFxr/src/NativeHost/NativeHost.csproj
0 Replies