Skip to content

Compile error with Tuples using TUnit version 0.50 up #3059

@tacoWanneeJama

Description

@tacoWanneeJama

When I migrate from TUnit 0.25.x to 0.50.x it introduces a compiler error:

Error (active)	CS0246	The type or namespace name 'T' could not be found (are you missing a using directive or an assembly reference?)	ws4.UnitTest	D:\source\VanManager\ws4.UnitTest\obj\Debug\net9.0\TUnit.Core.SourceGenerator\TUnit.Core.SourceGenerator.Generators.AotTupleProcessorGenerator\AotTupleProcessors.g.cs	61	

My project is using the lastest .Net 9.
I do use Tuples both as (TypeA a, TypeB b) and also Tuple<int, DateOnly>

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions