C# .NET核心,未能生成dotnet--info
当我在cmd中键入C# .NET核心,未能生成dotnet--info,c#,.net,visual-studio,visual-studio-code,.net-core,C#,.net,Visual Studio,Visual Studio Code,.net Core,当我在cmd中键入dotnet--info时,整个屏幕将覆盖在未能离开面包屑中 什么会导致这种行为?在谷歌上搜索,但似乎我是唯一有这个问题的人。最近,当我尝试使用VisualStudio代码时,我安装了一个c#扩展名并打开了我的.cs文件,我收到了这条消息 Updating C# dependencies... Platform: win32, x86_64 Downloading package 'OmniSharp for Windows (.NET 4.6 / x64)' (21928
dotnet--info
时,整个屏幕将覆盖在未能离开面包屑中
什么会导致这种行为?在谷歌上搜索,但似乎我是唯一有这个问题的人。最近,当我尝试使用VisualStudio代码时,我安装了一个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'
我自己也遇到了这个问题 您可能错过了标题中指向此URL的信息位。
您需要安装.net core。首先需要安装 你也需要 打开存在dotnet.exe的cmd(如) 在cmd中运行followind
dotnet --info
我重新安装了它几乎5次,尝试了所有可能的设置.NET Framework和.NET Core是两个相互竞争的框架。如果需要.NET Core,则无需安装.NET Framework。不过,choco vscode安装程序也会安装.NET Framework。不知道为什么。
dotnet --info