2016-11-02 85 views
0

我试图从命令行是无法执行的dotnet执行命令,并显示以下错误DOTNET核心1.0.1运行时错误

API-MS-双赢CRT-运行时l1-1-0 .dss从计算机中丢失

操作系统:windows 2012 Rc2 cloud vm。

VC++ 2015年64和86

enter image description here enter image description here

回答

0

缺少文件应与Windows更新安装。问题是作为用于Visual Studio 2015的Visual C++ Redistributable的一部分的KB2999226(通用CRT)未能安装(尝试重新安装它们)。

或者,您可以手动安装Visual C++可再发行组件。

对于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

0

最后发现根源,我试图在服务器来安装.NET Framework 4.6,安装弹出并显示错误消息更新“2919355 “(尽管服务器配置了自动更新),安装更新后,重新安装vC++ 2015运行时 - >核心运行时 - >工作。

更新详情可@: https://support.microsoft.com/en-us/kb/2919355

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

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