c# - .NET Core,未能生成 dotnet --info

标签 c# .net visual-studio visual-studio-code .net-core

当我在 cmd 中键入 dotnet --info 时,整个屏幕都被 Failed to leave breadcrumb 覆盖

什么会导致这种行为?在谷歌上搜索但似乎我是唯一有这个问题的人。最近,当我尝试使用 Visual Studio Code 时,我安装了一个 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'

最佳答案

我自己遇到了这个问题。

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

您需要安装.net core。

关于c# - .NET Core,未能生成 dotnet --info,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45699071/

相关文章:

c# - 正则表达式匹配某些公式

java - .NET 中有哪些可用的集群解决方案?

c# - Visual Studio 的删除未使用的引用安全吗?

c# - X509Store Certificates.Find FindByThumbprint

c# - 您如何在所有版本的 Windows 上可靠地读取用户的显示(名字和姓氏)名称?

c# - "Base class could not be loaded"- 没有明确的原因

c# - 具有自定义参数输入的企业库日志记录数据库跟踪监听器

c# - C# 上的通用解析原语类型

visual-studio-2010 - Visual Studio Express 2012 for Web 中针对 F# 的 IntelliSense 建议

c# - 在 Visual Studio 2008 中为 SQL 2005 HTTP 端点 Web 服务添加 SOAP header