Skip to content

Do I need to reference Microsoft.Maui.Controls.Compatibility in my purely MAUI project (.NET 8)? Why? #21501

Answered by davidortinau
meinmunzen asked this question in Q&A
Discussion options

You must be logged in to vote

Right now if you remove it, it is still going to be referenced when needed by the UseMaui project capability (like pre-net8). The PackageReference is there to allow setting the version to get a NuGet instead of the workload installed version.

As we get through the late wave of Xamarin upgrades, we will completely detangle and remove it from templates. Likely a .NET 9 task.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bcaceiro
Comment options

Answer selected by meinmunzen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants