Error: The PlatformIO task detection didn't contribute a task

Whenever I start the build process I get a “Task error” notification, with the following output:
Error: The PlatformIO task detection didn’t contribute a task for the following configuration:
{
“type”: “PlatformIO”,
“args”: [
“run”
],
“problemMatcher”: [
“$platformio”
]
}
The task will be ignored.

However the build process seems to work normally.
What can I check?
Thanks
Giovanni

1 Like

Estou com mesmo problema, conseguiu resolver?

Please remove tasks.json from .vscode folder.

1 Like

Yes, I removed tasks.json, rebuilt the project and the error did not show up anymore. If rhallado confirms the same we can close the issue.
Thank you very much!
Giovanni

1 Like

the same error can appear if another workspace folder has that file… solved by removing.
So, check extra folder too.

1 Like