2017-08-15 300 views
7

当我键入CMD公司整个屏幕dotnet --infoFailed to leave breadcrumb.NET的核心,无法生成的dotnet --info

覆盖哪些原因会导致这样的行为?在谷歌搜索,但似乎我是唯一有这个问题的人。最近,当我试图与Visual Studio代码工作,我安装了一个C#的扩展,打开了我的cs文件,我得到这个消息

Updating C# dependencies... 
Platform: win32, x86_64 

Downloading package 'OmniSharp for Windows (.NET 4.6/x64)' (21928 KB) .................... Done! 
Downloading package '.NET Core Debugger (Windows/x64)' (39217 KB) .................... Done! 

Installing package 'OmniSharp for Windows (.NET 4.6/x64)' 
Installing package '.NET Core Debugger (Windows/x64)' 

Finished 
Failed to spawn 'dotnet --info' 

回答

1

我跑在这个自己。

您可能错过了标题中指向此URL的信息位。 https://www.microsoft.com/net/core#macos

您需要安装.net内核。

+0

我已经重新安装了它几乎5次尝试每一个可能的设置 –

1

首先,你需要安装.NET Framework

你还需要在那里dotnet.exe存在(像).NET SDK

打开CMD

C:\Program Files\dotnet\dotnet.exe 

在cmd中运行followind

dotnet --info