1. 程式人生 > >vs code 問題:preLaunchTask“build”已終止,退出代碼為 1。解決辦法

vs code 問題:preLaunchTask“build”已終止,退出代碼為 1。解決辦法

AS red about nta false emma comm eal compile

菜單:任務-配置任務

改為如下:
{ // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "2.0.0", "command": "", "args": [], "tasks": [ { "label": "build", "command": "dotnet", "type": "shell", "args": [ "build" ], "options": { "cwd": "${workspaceRoot}" }, "group": { "kind": "build", "isDefault": true }, "presentation": { "echo": true, "reveal": "always", "focus": false, "panel": "shared" }, "problemMatcher": "$msCompile" } ] }

vs code 問題:preLaunchTask“build”已終止,退出代碼為 1。解決辦法