.NET: Microsoft Technologies based on the .NET software framework. Runtime: An environment required to run apps that aren't compiled to machine language.
only C:\Program Files\dotnet\dotnet.exe listed when running where.exe dotnet
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I get
Failed to load [C:\Program Files\dotnet\host\fxr\10.0.9\hostfxr.dll], HRESULT: 0x800700C1
The library hostfxr.dll was found, but loading it from C:\Program Files\dotnet\host\fxr\10.0.9\hostfxr.dll failed
when I type dotnet --list-sdks
aslo I can neither uninstall dotnet 10 sdk from Apps nor from Visual Studio Installer
.NET: Microsoft Technologies based on the .NET software framework. Runtime: An environment required to run apps that aren't compiled to machine language.
only C:\Program Files\dotnet\dotnet.exe listed when running where.exe dotnet
Hello @Shao, Seth ,
Because where.exe dotnet only shows C:\Program Files\dotnet\dotnet.exe, the likely cause is that the system-wide .NET 10 install is damaged or the required native dependency is missing.
I suggest trying this in order:
/repair option. Microsoft documents that the Windows installer supports /repair and /uninstall for an existing SDK install: Install .NET on Windows.Microsoft.DotNet.SDK.10, as described in Install .NET on Windows.hostfxr.dll-related failures: Troubleshooting on Windows.If it still fails after repair or reinstall, please share:
dotnet --infoI hope this helps. If you found my response helpful or informative, I would greatly appreciate it if you could follow this guidance or provide feedback.
Thank you.