Visual Studio Code Debugger无法正常工作,并且缺少文件

时间:2019-10-01 23:49:28

标签: c++ visual-c++ visual-studio-code

现在我的问题是: 当我尝试调试时,它说:“找不到任务构建 当我运行代码时,甚至以为它在运行,它说:

Error: the task 'build' neither specifies a command nor a dependsOn property. The task will be ignored. Its definition is:
{
    "label": "build",
    "type": "shell",
    "group": {
        "kind": "build",
        "isDefault": true
    },
    "windows": {
        "command": "powershell"
    },
    "linux": {
        "command": "bash"
    },
    "args": [
        "-c",
        "make"
    ]
}
Error: the task 'build & run' neither specifies a command nor a dependsOn property. The task will be ignored. Its definition is:
{
    "label": "build & run",
    "type": "shell",
    "group": {
        "kind": "test",
        "isDefault": true
    },
    "windows": {
        "command": "powershell"
    },
    "linux": {
        "command": "bash"
    },
    "args": [
        "-c",
        "'make run'"
    ]
}
Error: the task 'clean' neither specifies a command nor a dependsOn property. The task will be ignored. Its definition is:
{
    "label": "clean",
    "type": "shell",
    "windows": {
        "command": "powershell"
    },
    "linux": {
        "command": "bash"
    },
    "args": [
        "-c",
        "'make clean'"
    ]
}

这是Visual Studio Code的主要2个问题,我真的很想了解如何使用此IDE,因此我将不胜感激。

0 个答案:

没有答案