-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
bugfixedCheck the Milestone for the release in which the fix is or will be available.Check the Milestone for the release in which the fix is or will be available.tasks/build/debugAn issue relating to tasks.json (e.g. build issues)An issue relating to tasks.json (e.g. build issues)
Milestone
Description
VSCode version:
1.45.0-insider
a0fe37870c42e0704a492cdc6b8550b4cf23f63c
x64
vscode-cpptools version: 0.28.0-insiders
Here is my tasks.json.
{
"version": "2.0.0",
"tasks": [
{
"label": "gen",
"type": "shell",
"command": "cmake",
"args": [
"-DCMAKE_BUILD_TYPE=DEBUG",
".."
],
"options": {
"cwd": "build"
}
},
{
"label": "make",
"type": "shell",
"command": "make",
"args": [
],
"group": {
"kind": "test",
"isDefault": true
},
"dependsOn": "gen",
"options": {
"cwd": "build"
}
},
{
"label": "run",
"type": "shell",
"command": "./build/infidungeon",
"args": [
],
"group": {
"kind": "build",
"isDefault": true
},
"dependsOn": "make"
}
]
}If I change my code, or otherwise sometimes completely randomly, when I run task run, I get this message:

And when I hit, "Show output" I see:
The task provider for "C/C++" tasks unexpectedly provided a task of type "shell".
The task provider for "C/C++" tasks unexpectedly provided a task of type "shell".
Is something wrong with my tasks.json? I can't replicate this consistently? This does not happen when all extensions are disabled.
rewrking, skozitzki, skewled, thomastech, AndrewTsao and 52 moremeproxy, pparisot-sm and tdjastrzebski
Metadata
Metadata
Assignees
Labels
bugfixedCheck the Milestone for the release in which the fix is or will be available.Check the Milestone for the release in which the fix is or will be available.tasks/build/debugAn issue relating to tasks.json (e.g. build issues)An issue relating to tasks.json (e.g. build issues)