Error running Unit Tests for .NET MAUI Apps with .NET 6 RC2

Viewed 734

Running dotnet test on a net6 unit test project that references a project using .NET MAUI (<UseMaui>true</UseMaui>) throws the following error:

Testhost process exited with error: It was not possible to find any compatible framework version 
The framework 'Microsoft.Maui.Core', version '**FromWorkload**' (x64) was not found. 

This error is happening with .NET 6 Release Candidate 2

1 Answers
Related