dotnet / dotnet/docs

xUnit target net7.0 isn't compatbile with MAUI project targeting net7.0-android etc.

Open
#32,983 2 comments 2 reactions 0 assignees View on GitHub
:watch: Not Triaged dotnet-architecture/svc
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
19h 10m
Merged PRs (30d)
268

Description

Can't make MAUI project use net7.0; Can't make xUnit project target net7.0-android. As far as I know. The docs suggest it should work but don't show how.

---
#### Document Details

⚠ *Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.*

* ID: 35f5874b-b806-d852-bc29-ef8321e39407
* Version Independent ID: 70a9ee10-0de9-1a09-1bce-f207cacfcc9d
* Content: [Unit Testing](https://learn.microsoft.com/en-us/dotnet/architecture/maui/unit-testing)
* Content Source: [docs/architecture/maui/unit-testing.md](https://github.com/dotnet/docs/blob/main/docs/architecture/maui/unit-testing.md)
* Product: **dotnet-architecture**
* GitHub Login: @michaelstonis
* Microsoft Alias: **nanil**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.