1

这些天我正在尝试这些项目: - Visual Studio Code:我选择了从 USB 存储器执行的便携式 (.zip)。- .Net Core(又是.zip 包),我将其解压缩为与上一个相同的 USB 存储器。

当我尝试在 VSCode 项目中生成一个新的 C# 时,首先我遇到了如何调用 .Net 核心文件夹(又名 dotnet decomprissed 文件夹)的问题。到现在为止,我只需要在控制台中输入 dotnet 可执行文件的绝对路径位置 - 再次,从我从 zip 文件中解压缩的文件夹中 - 。

但后来我尝试在这些命令之后调试控制台应用程序:

dotnet new
dotnet restore
dotnet build

我看到以下错误:

The .NET Core Debugger is still being downloaded. See the C# Output Window    
for more information.
[ERROR]: C# Extension failed to install the debugger package

我该如何解决这个问题?

4

1 回答 1

1

刚刚在我的电脑上也看到了这个错误,原来 C# 调试器不支持 32 位 Windows 系统,GitHub 上有一个问题:https ://github.com/OmniSharp/omnisharp-vscode/issues/ 844 .

检查您是否使用的是 32 位 Windows,如果是,请升级到 x64。

于 2016-12-14T07:38:37.613 回答