maui
maui copied to clipboard
Remove implicit reference to Maui Compatibility and template references
Description of Change
For new users it's not advantageous (and can be confusing) to have the Maui Compatibility package referenced. Nothing from this package should be used by new projects.
TODO
What updates need to be made to the migration tool? Does it already set UseMauiCompat to true?
UseMauiCompatibility completely breaks controls based on ContentView on Windows, so we already have to disable it. see https://github.com/dotnet/maui/issues/13739 https://github.com/dotnet/maui/issues/19779
That is correct. After this PR, if you are not adding the package or setting the property, then the compat package should not be included.
/rebase
@PureWeen can you update this file too? https://github.com/dotnet/maui/blob/net9.0/src/Templates/src/templates/maui-blazor-solution/MauiApp.1/MauiApp.1.csproj#L62