Visual studio code 无法在VSCode中运行生成任务(Ctrl-Shift B)

Visual studio code 无法在VSCode中运行生成任务(Ctrl-Shift B),visual-studio-code,Visual Studio Code,在VisualStudio代码中,我设置了以下构建任务(tasks.json),它一直工作到今天 { // 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", "."], "showOutp

在VisualStudio代码中,我设置了以下构建任务(tasks.json),它一直工作到今天

{
// 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)。

在我升级了VisualStudioTeamServices扩展之后,问题就消失了

以下是我如何配置VS代码:

tasks.json
{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "tasks": [
        {
            "label": "build",
            "command": "python",
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "args": [
                "setup.py",
                "install"
            ],
            "presentation": {
                "echo": true,
                "panel": "shared",
                "focus": true
            }
        }
    ]
}