Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The required library hostfxr.dll could not be found. (.NET 5.0 requirement) #1

Open
deano019s opened this issue Dec 21, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@deano019s
Copy link

Upon running tool, the following error is encountered:

A fatal error occurred. The required library hostfxr.dll could not be found.

If this is a self-contained application, that library should exist in [C:\Users\local.adm\Desktop\WPCabFilter].
If this is a framework-dependent application, install the runtime in the global location [C:\Program Files\dotnet] or use the DOTNET_ROOT environment variable to specify the runtime location or register the runtime location in [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x64\InstallLocation].

The .NET runtime can be found at:

Running on base Win10 22H2 x64 machine. Installing runtime from above does not seem to resolve issue.

@deano019s
Copy link
Author

Installing .NET Desktop Runtime 5.0.17 and ASP.NET Core 5.0 Runtime seems to resolve, but wondering if the library can exist in the self-contained application.

@Empyreal96 Empyreal96 changed the title The required library hostfxr.dll could not be found. The required library hostfxr.dll could not be found. (.NET 5.0 requirement) Dec 21, 2022
@Empyreal96 Empyreal96 added the enhancement New feature or request label Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants