formulahendry / formulahendry/vscode-dotnet-test-explorer
MSBUILD : error MSB1008 Only one project can be specified
- Dominant language
- TypeScript
- Stars
- 208
- Forks
- 93
- PR merge metrics
- No merged PRs in 30d
Description
I'm experimenting same issue ([#213](https://github.com/formulahendry/vscode-dotnet-test-explorer/issues/213)), and I think that it's not a problem with build errors… Tests executes properly on Visual Studio, and the command 'dotnet test' executes right too…
**My .vscode\settings.json content:**
```json
{
"dotnet-test-explorer.testProjectPath": "*Tests/*Tests.csproj"
}
```
**TestExplorer log output while discovering tests:**
```
Finding projects for pattern c:/work\testexplorerissue/*Tests/*Tests.csproj
Found 1 matches for pattern in folder c:\work\testexplorerissue
Evaluating match c:/work/testexplorerissue/TestExplorerIssue.Lib.Tests/TestExplorerIssue.Lib.Tests.csproj
Adding directory c:/work/testexplorerissue/TestExplorerIssue.Lib.Tests
Executing dotnet test -t -v=q in c:/work/testexplorerissue/TestExplorerIssue.Lib.Tests
```
Then, in .NET TEST EXPLORER panel you can see: *Please, open or set the test project and ensure your project compiles*
The problem, I think, is with the execution of `dotnet test -t -v=q in c:/work/testexplorerissue/TestExplorerIssue.Lib.Tests` command. It throws the following error:
**MSBUILD : error MSB1008 Only one project can be specified.**
Attached, I send you a zipped solution that reproduces it: [testexplorerissue.zip](https://github.com/formulahendry/vscode-dotnet-test-explorer/files/3389530/testexplorerissue.zip)
_Originally posted by @Kash0321 in https://github.com/formulahendry/vscode-dotnet-test-explorer/issues/213#issuecomment-511178155_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.