-
Notifications
You must be signed in to change notification settings - Fork 341
Fix builds on WinUI and UWP .NET 9 projects #15004
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
Fix builds on WinUI and UWP .NET 9 projects #15004
Conversation
There was a problem hiding this comment.
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?
Yes sure, this is fine. @Sergio0694 would you make a pr to vstest please? https://github.com/microsoft/vstest/blob/main/src/package/Microsoft.NET.Test.Sdk/netcoreapp/Microsoft.NET.Test.Sdk.targets#L24 |
I've updated the PR to also fix builds for WinUI! We should be good to go now. Thank you! 🙂 |
@nohwnd Any concerns you have here or is it good to merge? |
Description
This PR fixes the .targets in the test SDK package to avoid breaking WinUI and UWP .NET 9 apps.
Related issue
Kindly link any related issues. E.g. Fixes #xyz.