Dotnet核心1.0.1运行时错误

时间:2016-11-02 15:28:34

标签: .net-core asp.net-core-1.0

我试图从命令行执行dotnet命令,但执行失败并显示以下错误

计算机缺少

api-ms-win-crt-runtime-l1-1-0.dss

操作系统:windows 2012 Rc2 cloud vm。

vc ++ 2015 64和86

enter image description here enter image description here

2 个答案:

答案 0 :(得分:0)

应在Windows Update中安装缺少的文件。问题是KB2999226(通用CRT)是Visual Studio 2015的Visual C ++ Redistributable的一部分,无法安装(尝试重新安装)。

或者,您可以手动安装Visual C ++ Redistributable。

对于Windows 64位 - http://download.microsoft.com/download/8/5/e/85edb843-93af-4daa-ad1e-c33dfa95b2ea/vc_redist.x64.exe

对于Windows 32位 - http://download.microsoft.com/download/4/5/6/456cf79a-4046-4232-8e6f-7cf3d8075d9a/vc_redist.x86.exe

答案 1 :(得分:0)

终于找到了根本原因,我试图在服务器上安装.net framework 4.6,安装弹出错误消息更新“2919355”丢失(即使服务器配置了自动更新),安装更新后,重新安装vc ++ 2015运行时 - &gt ; donet核心运行时 - >工作。

更新详细资料@: https://support.microsoft.com/en-us/kb/2919355

注意:必须按以下顺序安装更新:clearcompressionflag.exe,KB2919355,KB2932046,KB2959977,KB2937592,KB2938439和KB2934018。

注意:无需在服务器中安装.net 4.6来运行.net核心应用程序,执行.net 4.6安装以查找缺少的更新。

相关问题