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