diff --git a/src/SourceGenerators/Uno.UI.SourceGenerators.Tests/DependencyObjectGeneratorTests/Given_DependencyObjectGenerator.cs b/src/SourceGenerators/Uno.UI.SourceGenerators.Tests/DependencyObjectGeneratorTests/Given_DependencyObjectGenerator.cs index 94c8eeb77fab..50d5372af071 100644 --- a/src/SourceGenerators/Uno.UI.SourceGenerators.Tests/DependencyObjectGeneratorTests/Given_DependencyObjectGenerator.cs +++ b/src/SourceGenerators/Uno.UI.SourceGenerators.Tests/DependencyObjectGeneratorTests/Given_DependencyObjectGenerator.cs @@ -70,7 +70,7 @@ private async Task TestAndroid(string testCode, params DiagnosticResult[] expect { Sources = { testCode }, }, - ReferenceAssemblies = _net80, + ReferenceAssemblies = _net80Android, }; test.TestState.AdditionalReferences.AddRange(BuildUnoReferences(isAndroid: true));