maui icon indicating copy to clipboard operation
maui copied to clipboard

Remove implicit reference to Maui Compatibility and template references

Open PureWeen opened this issue 1 year ago • 1 comments
trafficstars

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?

PureWeen avatar May 03 '24 19:05 PureWeen

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

MitchBomcanhao avatar May 07 '24 12:05 MitchBomcanhao

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.

mattleibow avatar May 14 '24 18:05 mattleibow

/rebase

PureWeen avatar May 15 '24 16:05 PureWeen

@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

Eilon avatar May 15 '24 17:05 Eilon