简体   繁体   English

.NET Core未在Windows 2008 Server R2中运行

[英].NET Core is not running in Windows 2008 Server R2

I installed the DotNetCore.1.0.0.RC2-SDK.Preview1-x64.exe in my Windows 2008 R2 x64 machine. 我在Windows 2008 R2 x64机器上安装了DotNetCore.1.0.0.RC2-SDK.Preview1-x64.exe When I try to run a dotnet command the following error occurs: 当我尝试运行dotnet命令时,会发生以下错误:

在此输入图像描述

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. 我仔细检查了我的操作系统是x64,我正在安装x64版本的.NET Core。 Also, my installation seems to be okay, the file C:\\Program Files\\dotnet\\hostfxr.dll exists on my machine. 此外,我的安装似乎没问题,我的机器上存在文件C:\\Program Files\\dotnet\\hostfxr.dll

Searching on Google doesn't help a lot about the error. Google搜索对错误没有多大帮助。 Maybe am I missing some pre-requisites? 也许我错过了一些先决条件?

Please update your OS through Windows Update or try installing KB2533623 to workaround the issue you are having. 请通过Windows Update更新您的操作系统或尝试安装KB2533623以解决您遇到的问题。 Also, thank you for reporting this issue, we'll get the documentation updated to reflect this requirement. 另外,感谢您报告此问题,我们将更新文档以反映此要求。

In the future, you can report, discuss and track issues with .NET Core on GitHub: 将来,您可以在GitHub上报告,讨论和跟踪.NET Core的问题:

Tooling: https://github.com/dotnet/cli 工具: https //github.com/dotnet/cli

Framework Libraries: https://github.com/dotnet/corefx 框架库: https //github.com/dotnet/corefx

Runtime: https://github.com/dotnet/coreclr 运行时: https //github.com/dotnet/coreclr

UPDATE : Prerequisites Documentation 更新 :先决条件文档

https://github.com/dotnet/core/blob/master/Documentation/prereqs.md#windows-dependencies https://github.com/dotnet/core/blob/master/Documentation/prereqs.md#windows-dependencies

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM