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
All test projects are configured using a single property set at the folder level in Directory.Build.props
If I want to prepare migrating it to TUnit, I want both TUnit and NUnit to be present in the projects to run code fixers.
However, the migration workaround to remove explicit usings:
Description
All test projects are configured using a single property set at the folder level in Directory.Build.props
If I want to prepare migrating it to TUnit, I want both TUnit and NUnit to be present in the projects to run code fixers.
However, the migration workaround to remove explicit usings:
doesn't work if I try to apply it in Directory.Build.props.
Expected Behavior
Projects build successfully, there are no namespace conflicts.
Actual Behavior
error CS0104: 'Test' is an ambiguous reference between 'TUnit.Core.TestAttribute' and 'NUnit.Framework.TestAttribute'
Steps to Reproduce
TUnit Version
1.20.0
.NET Version
.NET 10
Operating System
Windows
IDE / Test Runner
dotnet CLI (dotnet test / dotnet run)
Error Output / Stack Trace
Additional Context
Putting those properties directly into csproj files works.
IDE-Specific Issue?
dotnet testordotnet run, not just in my IDE