Mac上的vscode在尝试调试.net核心应用时出错

时间:2020-09-11 19:48:10

标签: macos asp.net-core visual-studio-code

我运行调试程序,它弹出一个消息框,提示“ preLaunchTask'build'以退出代码1终止。”

在终端输出中,我看到:

Executing task: dotnet build /Users/me/test/quickstart/quickstart/quickstart.csproj /property:GenerateFullPaths=true /consoleloggerparameters:NoSummary <

execvp(3) failed.: No such file or directory
The terminal process "dotnet 'build', '/Users/benorgil/test/quickstart/quickstart/quickstart.csproj', '/property:GenerateFullPaths=true', '/consoleloggerparameters:NoSummary'" failed to launch (exit code: 1).

Terminal will be reused by tasks, press any key to close it.

如果我单击显示错误,“问题”标签将显示"No problems have been detected in the workspace so far."

如果我单击“仍然调试”,它将正常工作并正确打开浏览器

此错误的原因是什么?似乎实际上不是错误?

0 个答案:

没有答案