Do I need to reference Microsoft.Maui.Controls.Compatibility
in my purely MAUI project (.NET 8)? Why?
#21501
-
Official template contains both However, it's not really clear to me why a new .NET project requires compatibility functionality. Especially, for cases when one does not migrate from Xamarin Forms to MAUI. Could anyone explain it a bit more? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Right now if you remove it, it is still going to be referenced when needed by the As we get through the late wave of Xamarin upgrades, we will completely detangle and remove it from templates. Likely a .NET 9 task. |
Beta Was this translation helpful? Give feedback.
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.