I installed the DotNetCore.1.0.0.RC2-SDK.Preview1-x64.exe in my Windows 2008 R2 x64 machine. When I try to run a dotnet
command the following error occurs:
C:\Users\Administrator>dotnet --version
Failed to load the dll from [C:\Program Files\dotnet\hostfxr.dll], HRESULT: 0x80070057
I double-checked that my OS is x64 and I'm installing the x64 version of .NET Core. Also, my installation seems to be okay, the file C:\Program Files\dotnet\hostfxr.dll
exists on my machine.
Searching on Google doesn't help a lot about the error. Maybe am I missing some pre-requisites?