maui
maui copied to clipboard
Create development path without compatibility projects
Description of Change
The entire compatibility folder is currently not used for any active MAUI development. It currently just slows down the solution load and creates more cognitive load for users.
- I created a new solution
Microsoft.Maui-dev.sln. The main reason for doing this is to conditionally include the compatibility project references inside any of our sample's projects. This also lets you loadMicrosoft.Maui.slnas if theCompatibilityproject was still present which should also keep CI consistent. I would have done this with a solution filter but it's currently not possible to know if you are running a solution filter or not. - Created a new compatibility unit test project for the unit tests we had in
Controls.UnitTeststhat dependend onCompatibility.
Other thoughts
- Rename
Microsoft.Maui.slntoMicrosoft.Maui-full.slnand this is what we build on CI. TheMicrosoft.Maui-dev.slnin this PR becomesMicrosoft.Maui.sln - Move all of the
Compatibilitybits into its ownMicrosoft.Maui.Compatibility.slnand then we just make sure to build this on CI to validate everything compiles.
Work to do
- once this approach is approved, I'll update the applicable docs as well