Source Generator adds "NET5_0_OR_GREATER" and not "NET6_0_OR_GREATER"
Open
area-architecture
s/triaged
t/bug
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 297
Description
I noticed that the [source generator adds "NET5_0_OR_GREATER"](https://github.com/dotnet/maui/blob/c1439acf4dfeb0e5a6f56583d6a1860a12ff4a6f/src/Controls/src/SourceGen/CodeBehindGenerator.cs#L196) and not "NET6_0_OR_GREATER" which I would expect as MAUI only runs on .net 6.
Contributor guide
Assessment
This issue has not been assessed yet.