【发布时间】:2023-02-02 19:51:58
【问题描述】:
我正在尝试使用 vscode 调试包含 c# 项目的解决方案。
我的 tasks.json 文件包含以下任务:
{
"label": "clean (functions)",
"command": "dotnet",
"args": [
"clean",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"type": "process",
"problemMatcher": "$msCompile"
}
当我从调试扩展中点击调试时,出现以下错误:
错误 MSB1011:指定要使用的项目或解决方案文件,因为 此文件夹包含多个项目或解决方案文件
如何修改 tasks.json 文件以提供要构建的解决方案的名称?
【问题讨论】:
标签: c# visual-studio-code .net-core