There are task error

When I build the code, the line there are task error appears. See the output for details. When the program can still build and reports Success. Can anyone tell me where my error lies
image
When I click Output, these lines appear: Activating task providers all

Error: The PlatformIO task detection didn't contribute a task for the following configuration:
{
    "type": "PlatformIO",
    "task": "Build",
    "problemMatcher": [
        "$platformio"
    ],
    "group": "build",
    "label": "PlatformIO: Build"
}
The task will be ignored.
Error: The PlatformIO task detection didn't contribute a task for the following configuration:
{
    "type": "PlatformIO",
    "task": "Build",
    "problemMatcher": [
        "$platformio"
    ],
    "group": "build",
    "label": "PlatformIO: Build"
}
The task will be ignored.
Error: The PlatformIO task detection didn't contribute a task for the following configuration:
{
    "type": "PlatformIO",
    "task": "Build",
    "problemMatcher": [
        "$platformio"
    ],
    "group": "build",
    "label": "PlatformIO: Build"
}
The task will be ignored.
Error: The PlatformIO task detection didn't contribute a task for the following configuration:
{
    "type": "PlatformIO",
    "task": "Build",
    "problemMatcher": [
        "$platformio"
    ],
    "group": "build",
    "label": "PlatformIO: Build"
}
The task will be ignored.
Error: The PlatformIO task detection didn't contribute a task for the following configuration:
{
    "type": "PlatformIO",
    "task": "Build",
    "problemMatcher": [
        "$platformio"
    ],
    "group": "build",
    "label": "PlatformIO: Build"
}
The task will be ignored.
Error: The PlatformIO task detection didn't contribute a task for the following configuration:
{
    "type": "PlatformIO",
    "task": "Build",
    "problemMatcher": [
        "$platformio"
    ],
    "group": "build",
    "label": "PlatformIO: Build"
}
The task will be ignored.

What other extensions besides PlatformIO do you have installed in VSCode?

These are the extensions that I have installed



image

Hm, nothing suspicious here. Can you disable all extensions except

  • PlatformIO
  • C/C++ by Microsoft
  • all Python ones

and check if the issue still occurs?

I disabled everything and only kept platformio and C/c++ but it still didn’t fix it