testfx icon indicating copy to clipboard operation
testfx copied to clipboard

Setting `UseMSBuildTestInfrastructure` causes issues when not opting-in MTP

Open Youssef1313 opened this issue 9 months ago • 1 comments

Setting UseMSBuildTestInfrastructure to true causes MTP.MSBuild package to mess things up when using VSTest, as it plugs MTP-specific logic.

Youssef1313 avatar Mar 19 '25 22:03 Youssef1313

https://github.com/microsoft/testfx/blob/c325013cf82e671ac9fd491cafcaf66cb4461369/src/Platform/Microsoft.Testing.Platform.MSBuild/buildMultiTargeting/Microsoft.Testing.Platform.MSBuild.targets#L279-L286

This probably what I was referring to in this issue.

Youssef1313 avatar Oct 11 '25 07:10 Youssef1313