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

RunVSTest: Avoid running tests a second time when running under dotnet #549

Merged
merged 1 commit into from
Mar 29, 2024

Conversation

dfederm
Copy link
Member

@dfederm dfederm commented Mar 29, 2024

When using dotnet build /t:Build;Test, the tests will run twice as Microsoft.Testing.Platform.MSBuild, which is automatically included as a dependency of MSTest.TestAdapter, will run the tests in a more built-in way.

This change just gets this Microsoft.Build.RunVSTest SDK out of the way in that scenario in favor of the built-in mechanism.

@dfederm dfederm enabled auto-merge (squash) March 29, 2024 00:05
@dfederm dfederm merged commit 92b330e into main Mar 29, 2024
5 checks passed
@dfederm dfederm deleted the vstest-fix-dotnet branch March 29, 2024 00:36
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 this pull request may close these issues.

None yet

2 participants