Windows 2008 Server R2中未运行.NET Core [英] .NET Core is not running in Windows 2008 Server R2

查看:598
本文介绍了Windows 2008 Server R2中未运行.NET Core的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了 DotNetCore.1.0.0.RC2-SDK.Preview1-x64.exe 在Windows 2008 R2 x64计算机上.当我尝试运行dotnet命令时,会发生以下错误:

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

我仔细检查了我的操作系统是x64,并且正在安装x64版本的.NET Core.另外,我的安装似乎还可以,我的计算机上存在文件C:\Program Files\dotnet\hostfxr.dll.

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?

推荐答案

请通过Windows Update更新操作系统,或尝试安装 KB2533623 来解决您遇到的问题.另外,感谢您报告此问题,我们将更新文档以反映此要求.

Please update your OS through Windows Update or try installing KB2533623 to workaround the issue you are having. Also, thank you for reporting this issue, we'll get the documentation updated to reflect this requirement.

将来,您可以在GitHub上报告,讨论和跟踪.NET Core的问题:

In the future, you can report, discuss and track issues with .NET Core on GitHub:

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

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

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

更新:先决条件文档

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

这篇关于Windows 2008 Server R2中未运行.NET Core的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆