- VS Code Version: 1.63.2 (user setup)
- OS Version: Windows_NT x64 10.0.22000
I have a global launch configuration in my user settings. I also have user level tasks in the same directory where the user settings is.
The launch configuration has preLaunch and postDebug tasks that are in the user level tasks.json. The preLaunch task works fine. The postDebug task fails and gives the following error notification.
Task <task_name> cannot be referenced from a launch configuration that is in a different workspace folder.
The task works just fine when I change it to be a preLaunch task.
A similar issue is reported #118528 previously.
I have a global launch configuration in my user settings. I also have user level tasks in the same directory where the user settings is.
The launch configuration has
preLaunchandpostDebugtasks that are in the user level tasks.json. ThepreLaunchtask works fine. ThepostDebugtask fails and gives the following error notification.The task works just fine when I change it to be a
preLaunchtask.A similar issue is reported #118528 previously.