This is what I see.
C:\git\core\samples\dotnet-runtimeinfo>\dotnet5arm64\dotnet run
**.NET information
Version: 5.0.9
FrameworkDescription: .NET 5.0.9
Libraries version: 5.0.9
Libraries hash: 208e377a5329ad6eb1db5e5fb9d4590fa50beadd
**Environment information
OSDescription: Microsoft Windows 10.0.22000
OSVersion: Microsoft Windows NT 10.0.22000.0
OSArchitecture: Arm64
ProcessorCount: 8
C:\git\core\samples\dotnet-runtimeinfo>\dotnetarm64\dotnet run
Failed to load the dll from [C:\dotnetarm64\host\fxr\6.0.0-rc.2.21420.4\hostfxr.dll], HRESULT: 0x800700C1
The library hostfxr.dll was found, but loading it from C:\dotnetarm64\host\fxr\6.0.0-rc.2.21420.4\hostfxr.dll failed
- Installing .NET Core prerequisites might help resolve this problem.
https://go.microsoft.com/fwlink/?linkid=798306
C:\git\core\samples\dotnet-runtimeinfo>dir C:\dotnetarm64\host\fxr\6.0.0-rc.2.21420.4
Volume in drive C is Windows
Volume Serial Number is F64D-24D0
Directory of C:\dotnetarm64\host\fxr\6.0.0-rc.2.21420.4
08/20/2021 09:35 AM <DIR> .
08/20/2021 09:35 AM <DIR> ..
08/20/2021 09:21 AM 380,928 hostfxr.dll
1 File(s) 380,928 bytes
2 Dir(s) 90,463,694,848 bytes free
C:\git\core\samples\dotnet-runtimeinfo>\dotnetarm64\dotnet bin\Debug\netcoreapp3.1\dotnet-runtimeinfo.dll
**.NET information
Version: 6.0.0
FrameworkDescription: .NET 6.0.0-rc.2.21420.4
Libraries version: 6.0.0-rc.2.21420.4
Libraries hash: aa219d8aa2a03726e02a643cf8b36fec13d2d484
**Environment information
OSDescription: Microsoft Windows 10.0.22000
OSVersion: Microsoft Windows NT 10.0.22000.0
OSArchitecture: Arm64
ProcessorCount: 8
C:\git\core\samples\dotnet-runtimeinfo>set COREHOST_TRACE=1
C:\git\core\samples\dotnet-runtimeinfo>set COREHOST_TRACEFILE=host.txt
C:\git\core\samples\dotnet-runtimeinfo>set DOTNET_ROOT=c:\dotnetarm64
C:\git\core\samples\dotnet-runtimeinfo>bin\Debug\netcoreapp3.1\dotnet-runtimeinfo.exe
Failed to load the dll from [c:\dotnetarm64\host\fxr\6.0.0-rc.2.21420.4\hostfxr.dll], HRESULT: 0x800700C1
The library hostfxr.dll was found, but loading it from c:\dotnetarm64\host\fxr\6.0.0-rc.2.21420.4\hostfxr.dll failed
- Installing .NET Core prerequisites might help resolve this problem.
https://go.microsoft.com/fwlink/?linkid=798306
C:\git\core\samples\dotnet-runtimeinfo>type host.txt
Tracing enabled @ Fri Aug 20 23:51:02 2021 GMT
--- Invoked apphost [version: 3.1.18, commit hash: 5d3919d34e0d8940ee50c36d823ddc28d6b1723c] main = {
bin\Debug\netcoreapp3.1\dotnet-runtimeinfo.exe
}
Redirecting errors to custom writer.
The managed DLL bound to this executable is: 'dotnet-runtimeinfo.dll'
Using environment variable DOTNET_ROOT=[c:\dotnetarm64] as runtime location.
Reading fx resolver directory=[c:\dotnetarm64\host\fxr]
Considering fxr version=[6.0.0-rc.2.21420.4]...
Detected latest fxr version=[c:\dotnetarm64\host\fxr\6.0.0-rc.2.21420.4]...
Resolved fxr [c:\dotnetarm64\host\fxr\6.0.0-rc.2.21420.4\hostfxr.dll]...
Failed to load the dll from [c:\dotnetarm64\host\fxr\6.0.0-rc.2.21420.4\hostfxr.dll], HRESULT: 0x800700C1
The library hostfxr.dll was found, but loading it from c:\dotnetarm64\host\fxr\6.0.0-rc.2.21420.4\hostfxr.dll failed
- Installing .NET Core prerequisites might help resolve this problem.
https://go.microsoft.com/fwlink/?linkid=798306
hostfxr.dll loading failing on Windows 11
Using https://github.com/dotnet/core/blob/main/samples/dotnet-runtimeinfo.
This is what I see.