无法在VSCode中运行构建任务(Ctrl Shift B)
问题描述:
在Visual Studio代码中,我设置了以下构建任务(tasks.json),并且它一直工作到今天。无法在VSCode中运行构建任务(Ctrl Shift B)
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "0.1.0",
"command": "tsc",
"isShellCommand": true,
"args": ["-p", "."],
"showOutput": "always",
"problemMatcher": "$tsc"
}
我没有升级VSCode到1.12.1所以我想知道如果升级是为什么这不再工作。基本上现在当我按Ctrl Shift B时,什么也没有发生。通常在底部显示旋转图标,然后在任务输出中显示错误。现在没有发生。我仍然可以在命令上成功构建(tsc -p。)
答
升级我的Visual Studio Team Services扩展后,问题就消失了。