pub fn load_hostfxr_with_dotnet_root<P: AsRef<PdCStr>>(
    dotnet_root: P
) -> Result<Hostfxr, LoadHostfxrError>
Expand description

Retrieves the path to the hostfxr library and loads it. Hostfxr is located as if an application is started using dotnet app.dll, which means it will be searched for under the dotnet_root path.