Fix builds on WinUI and UWP .NET 9 projects by Sergio0694 · Pull Request #15004 · microsoft/vstest (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@Sergio0694

Description

This PR fixes the .targets in the test SDK package to avoid breaking WinUI and UWP .NET 9 apps.

Kindly link any related issues. E.g. Fixes #xyz.

@Sergio0694

Evangelink

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nohwnd We could do a similar trick for WinUI so that if the user refs Microsoft.NET.Test.Sdk it's not causing a break of their app. WDYT?

@nohwnd

Evangelink

Evangelink

@Sergio0694

@Sergio0694 Sergio0694 changed the titleFix builds on UWP .NET 9 projects Fix builds on WinUI and UWP .NET 9 projects

Feb 7, 2025

@Sergio0694

I've updated the PR to also fix builds for WinUI! We should be good to go now. Thank you! 🙂

Youssef1313

@Youssef1313

@nohwnd Any concerns you have here or is it good to merge?

Evangelink

This was referenced

Jul 22, 2025

This was referenced

Jun 5, 2026

This was referenced

Jun 13, 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 }})