sdk icon indicating copy to clipboard operation
sdk copied to clipboard

Unable to run dotnet on Windows after MSI installation

Open Sridhar-MS opened this issue 10 years ago • 5 comments

C:\dotnet\bin>dotnet Failed to load the dll from C:\dotnet\bin\hostpolicy.dll, HRESULT: 0x8007007E Error loading the host library from own dir: C:\dotnet\bin; Status=00000041

@schellap I think its because of your recent changes - https://github.com/dotnet/cli/pull/843

/cc @piotrpMSFT @gkhanna79

Sridhar-MS avatar Jan 15 '16 19:01 Sridhar-MS

@Sridhar-MS Is hostpolicy.dll not present next to the host?

gkhanna79 avatar Jan 15 '16 20:01 gkhanna79

This is weird. It is present. So I am looking at why Windows is not picking up.

schellap avatar Jan 15 '16 20:01 schellap

Could you please paste the repro steps, I am not able to repro on my Windows 10 box with the latest MSI.

schellap avatar Jan 15 '16 20:01 schellap

Duplicate of dotnet/sdk#4808? I installed the C++ Redistributable 2015 and rebooted and the error went away.

natemcmaster avatar Jan 15 '16 20:01 natemcmaster

Duplicate of dotnet/sdk#4808

Sridhar-MS avatar Jan 15 '16 20:01 Sridhar-MS