Build isolated test assets for single TFM instead of 7 by nohwnd · Pull Request #15517 · microsoft/vstest (original) (raw)

@nohwnd

GetIsolatedTestAsset now takes a targetFramework parameter and rewrites the csproj to build only that TFM. Previously, test assets built for all 7 target frameworks (net462;net472;net48;net8.0;net9.0;net10.0;net11.0) even though the test assertions only need output from one.

Results on affected tests:

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

AI review requested due to automatic review settings

March 19, 2026 14:51

This was referenced

Mar 25, 2026

This was referenced

May 26, 2026

This was referenced

Jun 16, 2026

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})