Skip to content
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

Add support for multiple project files in a directory #358

Open
amwaters opened this issue Mar 24, 2022 · 0 comments · May be fixed by #372
Open

Add support for multiple project files in a directory #358

amwaters opened this issue Mar 24, 2022 · 0 comments · May be fixed by #372

Comments

@amwaters
Copy link

.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)

@deitry deitry linked a pull request Aug 30, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant