Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

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

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

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

This is a known-issue in .NET 6 RC2:

https://github.com/dotnet/sdk/issues/21845

Currently, dotnet test does not yet work for projects using dotnet workloads. Since .NET MAUI is installed as a .NET Workload, this means that dotnet test will not yet work for .NET MAUI apps.

Update: The .NET MAUI team has fixed the issue. This means using dotnet test on .NET MAUI projects will begin working in the next release, .NET MAUI Preview 10.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!