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


菜单:任务-配置任务

改为如下:
{ // 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" } ] }


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM