vs code 问题:preLaunchTask“build”已终止,退出代码为 1。解决办法

时间:2018-04-15 18:46:34   收藏:0   阅读:9509
菜单:任务-配置任务

改为如下:
{ // 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" } ] }
评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!