Describe the bug
For the test executed using .NET SDK 10.0.100, the generated logger output does not contain any custom trait.
dotnet test --logger xunit --diag:log.txt
The same command for the same codebase executed using .NET 9.0.x SDK generates a proper report (in both cases, the target framework is net9.0).
- Test Framework (choose one): Xunit
- .NET project version, sdk version (choose applicable): net9.0
- Command line used (please share the test run command):
dotnet test --logger xunit
- OS: Linux/Windows
Expected behavior
The custom traits are present in the generated logger output.
Other details
Additional context