Task error reappearing after update to VSCode 1.47

This has been observed many times before, but I got it out of a sudden after upgrading VSCode to the latest 1.47 version:

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

No catastrophe, but annoying.

How to reproduce this issue? What is your OS? I can’t reproduce it on macOS.

Windows 10, Release 1910.

The error pops up whenever I click on Upload. Compile and upload are working without any issues, just this message is shown every time.

I got VSCode 1.47 by the regular update popup in VSCode and installed it from within VSCode.

I’ve just tested in VM and can’t reproduce. Could you remove .vscode folder from a project and restart VSCode?

Did it as advised. Same again.

Haven’t noticed this on my W10 (20.04 build) with VSCode 1.47.0… only being doing uploads for atmelavr/espressif8266 in last few days though. Sorry (not sorry! :laughing:).

No worries, I can stand it! :grin:

1 Like

Here is the setup of my machine:
image
CONFIGURATION: Redirecting...
PLATFORM: Espressif 32 1.12.4 > DOIT ESP32 DEVKIT V1
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog)
I have tried removing .vscode but when I build I always get the following error message:

Error: The PlatformIO task detection didn’t contribute a task for the following configuration:

{

"type": "PlatformIO",

"task": "Monitor",

"problemMatcher": [

    "$platformio"

],

"label": "PlatformIO: Monitor"

}

The task will be ignored.

Error: The PlatformIO task detection didn’t contribute a task for the following configuration:

{

"type": "PlatformIO",

"task": "Pre-Debug",

"problemMatcher": [

    "$platformio"

],

"label": "PlatformIO: Pre-Debug [build in debug mode]"

}

The task will be ignored.

My last post would not let me send > 1 image so here is the rest of the machine config:
image
Version: 1.47.2 (user setup)
Commit: 17299e413d5590b14ab0340ea477cdd86ff13daf
Date: 2020-07-15T18:22:06.216Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363