-
Notifications
You must be signed in to change notification settings - Fork 30.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Could not find the task..." error when using a .code-workspace
file.
#192041
Comments
.code-worksapce
file..code-workspace
file.
I cannot reproduce in insider's - it's possible this was fixed in the past month. Could you pls verify if it's working for you? |
Hi! I tried on сode-Insiders version, but nothing changes :( It also contains two folders: Recording.2023-09-30.115937.mp4 |
In your repro, where is |
See it is working here when the task has been defined. workspace.mov |
@meganrogge it's work when task defined. But why is it not necessary to create |
The task has to be defined somewhere - whether in the workspace file or the tasks.json for us to know what to run. |
Hello. I created a debugger for .NET apps. It's requires a
preLaunchTask: "dotnet-meteor: Build"
in the launch.json. This task is always provided byvscode.TaskProvider
(TaskScope.Workspace):https://github.com/JaneySprings/DotNet.Meteor/blob/main/src/VSCode.Extension/tasks/build.ts
If you are not using a

code-workspace
file, then you can create alaunch.json
file and run the debug.But if you use the
code-worksapce
file, then when you run the debug you will get the error:in the debug, I see that VSCode requests a task and receives a response, but the error still occurs:
https://github.com/microsoft/vscode/assets/48021947/cdac4035-1cc6-4184-afc6-5255b6bb0be0
Does this issue occur when all extensions are disabled?: Yes
Version: 1.81.1 (Universal)
Commit: 6c3e3db
Date: 2023-08-09T22:20:33.924Z (3 wks ago)
Electron: 22.3.18
ElectronBuildId: 22689846
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Darwin arm64 22.6.0
The text was updated successfully, but these errors were encountered: