Skip to content

Conversation

Youssef1313
Copy link
Member

@Youssef1313 Youssef1313 commented May 27, 2025

A step towards #5645

Fixes #5579

MSTest.TestAdapter is supposed to be used only by actual test projects, not by helper libraries. So, we shouldn't allow its usage if the project targets .NET Standard. Additionally, MSTest.Sdk shouldn't include MSTest.TestAdapter under .NET Standard. So, we set IsTestApplication to false under .NET Standard in MSTest.Sdk.

…estAdapter.targets

Co-authored-by: Amaury Levé <amauryleve@microsoft.com>
@Evangelink Evangelink merged commit e8d0d59 into microsoft:main May 27, 2025
8 checks passed
@Youssef1313 Youssef1313 deleted the warn-netstandard2 branch May 27, 2025 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants