Update headless xUnit support to v3 (#20481)

* Update headless xUnit support to v3

* Update API suppressions
This commit is contained in:
Julien Lebosquain
2026-01-17 18:16:07 +01:00
committed by GitHub
parent 1086d9b5b0
commit ff0a61486d
23 changed files with 551 additions and 378 deletions
+4 -5
View File
@@ -1,14 +1,13 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Condition="'$(IsXUnit2)'!='true'">
<ItemGroup>
<PackageReference Include="xunit.v3.mtp-v2" Version="3.2.1" />
</ItemGroup>
<ItemGroup Condition="'$(IsXUnit2)'=='true'">
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="YTest.MTP.XUnit2" Version="1.0.2" />
</ItemGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)\avalonia.snk</AssemblyOriginatorKeyFile>
<SignAssembly>False</SignAssembly>
<NoWarn>$(NoWarn);CS8002</NoWarn> <!-- ignore signing warnings for unit tests -->
</PropertyGroup>
</Project>