microsoft / vscode-dotnettools

This is a feedback repository to capture issues logged for the C# Dev Kit and related extensions from Visual Studio Code
Other
227 stars 12 forks source link

C# Dev kit: Cannot change project configuration when running test #1177

Open tn-5 opened 4 months ago

tn-5 commented 4 months ago

Type: Bug

When a project has multiple configurations it is not possible to select the configuration to use when running the tests from the test view. For normal debugging different tasks are defined in tasks.json but this type of selection is not possible when running a test from the test view.

Extension version: 1.6.8 VS Code version: Code 1.90.0 (89de5a8d4d6205e5b11647eb6a74844ca23d2573, 2024-06-04T19:34:48.028Z) OS version: Darwin arm64 23.5.0 Modes:

ocallesp commented 3 months ago

@tn-5 could you provide more details on the specific project configuration you are trying to select when running the tests ?

AbhitejJohn commented 1 month ago

@ocallesp : This might be tied to a multi-targeted project. Does the test explorer support running tests against a specific target framework in that scenario? (like it does in Visual Studio).