Skip .NET Framework tests on non-Windows platforms (#1226)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
This commit is contained in:
parent
50d6d0b570
commit
6a4e4d27dc
1 changed files with 9 additions and 12 deletions
|
|
@ -45,4 +45,10 @@
|
|||
<!-- Don't use x64 when running netfx test procs on Windows ARM -->
|
||||
<PreferNativeArm64>true</PreferNativeArm64>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- Shared target frameworks for test projects and test support projects. net472 is only included on Windows. -->
|
||||
<DefaultTestTargetFrameworks>net10.0;net9.0;net8.0</DefaultTestTargetFrameworks>
|
||||
<DefaultTestTargetFrameworks Condition="$([MSBuild]::IsOSPlatform('Windows'))">$(DefaultTestTargetFrameworks);net472</DefaultTestTargetFrameworks>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
|
|
|||
Loading…
Reference in a new issue