Open
Description
Describe the Issue
In my tasks.json
I have the build task set to not open the panel and close the terminal instead of the "Terminal will be reused by tasks, press any key to close it." message.
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/MySolution.sln",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile",
"presentation": {
"echo": true,
"reveal": "never",
"focus": false,
"panel": "shared",
"showReuseMessage": false,
"clear": true,
"close": true,
}
}
However, when running a test from the testing view, the panel still opens and the reuse message still appears.
Is there a way to customize the build task used when running tests?
Steps To Reproduce
- Create a new .NET project with tests
- Add the following to build task:
"presentation": {
"echo": true,
"reveal": "never",
"focus": false,
"panel": "shared",
"showReuseMessage": false,
"clear": true,
"close": true,
}
Expected Behavior
When a test is run, the build task is invoked and the panel does not appear and the terminal used for the build is closed after.
Environment Information
- VSCode: Version: 1.80.0-insider
- C# DevKit: v0.1.103
- OS: Windows 11