Failed to load the dll: hostfxr.dll

Daniel Briceño 21 Reputation points
2022-03-14T23:58:39.557+00:00

I run any dotnet function like:

c/:>dotnet --help

And I get:

Failed to load the dll from [C:\Program Files\dotnet\host\fxr\6.0.3\hostfxr.dll]
, HRESULT: 0x80070057
The library hostfxr.dll was found, but loading it from C:\Program Files\dotnet\h
ost\fxr\6.0.3\hostfxr.dll failed
  - Installing .NET prerequisites might help resolve this problem.
     https://go.microsoft.com/fwlink/?linkid=798306

how do i fix it?.
I have Windows 7 (Service Pack 1)(Unlicensed) 32bits.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,926 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jiachen Li-MSFT 32,376 Reputation points Microsoft Vendor
    2022-03-15T08:30:27.333+00:00

    Hi @Daniel Briceño ,
    Please install the KB4457144 patch.
    You can find the version corresponding to your operating system in the link below.
    https://www.catalog.update.microsoft.com/Search.aspx?q=KB4457144
    Best Regards.
    Jiachen Li

    ----------

    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.