formulahendry / formulahendry/vscode-dotnet-test-explorer

Add support for multiple project files in a directory

Open
#358 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
208
Forks
93
PR merge metrics
No merged PRs in 30d

Description

.NET Test Explorer does not support projects in directories which contain more than one project file (e.g. csproj). It seems this is because `dotnet` commands are invoked by directory and not by project file.

1. Test discovery fails with `MSB1001: Specify which project or solution file to use because this folder contains more than one project or solution file.` (*Limited workaround: add project filename to setting `dotnet-test-explorer.testArguments`*)

2. Test execution fails because the directory build fails for the same reason. (*The build step has no customisable arguments so there is no workaround for this.*)

(.NET Core Test Explorer 0.7.7, .NET Core 6.0.201)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.