You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This has initially be opened in the csWinrt project: microsoft/CsWinRT#1943
This issue affects only .NET 9 + UWP test. "Regular" .NET 9 test projects are working fine.
XUnit stops discovering the test once I'm adding <Platforms>x86;x64;arm64</Platforms> to the project.
Description
I've converted an UWP test application using xUnit to .Net 9 + AOT.
The xUnit tests are not discovered (and not run).
See Modernize your UWP app with preview UWP support for .NET 9 and Native AOT for more details
Steps To Reproduce
Only the
msTest.Test
test is run. ThexUnitTest.Test
testis not discovered by the test runner and not run.Expected Behavior
All the tests should run.
Version Info
TargetFramework = net9.0-windows10.0.26100.0
Microsoft.NET.Test.Sdk = 17.14.0-preview-25107-01
MSTest = 3.8.2
xunit = 2.9.3
xunit.runner.visualstudio = 3.0.2
Additional Context
Sample test application: UnitTests.zip
The text was updated successfully, but these errors were encountered: