sdk: Failed to load the dll from [C:\Program Files\dotnet\host\fxr\1.0.1\hostfxr.dll], HRESULT: 0x80070057

Environment data

dotnet --info output: C:\Users\Rakesh>dotnet --info Failed to load the dll from [C:\Program Files\dotnet\host\fxr\1.0.1\hostfxr.dll], HRESULT: 0x80070057

system config configuration

software installed installed

file location file

error is still comming error

solve this and give just reasonable solution. what i can do

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 18 (4 by maintainers)

Most upvoted comments

Hi Had this similar issue. I have Win 7 SP1. Installed Windows update from following link and got resolved. https://www.microsoft.com/en-us/download/details.aspx?id=26767

Hope it helps

This issue should not be closed. The hosting bundle should refuse to install and tell the user why ( missing prereqs). Instead it installs like everything is fine. Then my application installs and it manifests itself as a runtime error requiring me to go research this issue to find this. It’s not a good UX and not the accepted practice for installers for the last 20 some years. (Bonus points: actually install the prereqs for the user. WiX is quiet capable of doing web downloads of vc_redist and some windows updates and installing them. )

Do you have all the pre-reqs installed for Windows (as listed at https://github.com/dotnet/core/blob/master/Documentation/prereqs.md), including the KB (https://support.microsoft.com/en-us/kb/2533623)?

Given no activity in a week I’m assuming this is resolved. @RakeshYadvanshi please let us know if you’re still seeing issues.