dotnet / dotnet/maui

Source Generator adds "NET5_0_OR_GREATER" and not "NET6_0_OR_GREATER"

Open
#8,540 6 comments 0 reactions 0 assignees View on GitHub
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

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.