dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.01k stars 1.73k forks source link

[Enhancement] <UseMauiBuild> #2337

Open SteveBush opened 3 years ago

SteveBush commented 3 years ago

Summary

Separate out the MSBuild infrastructure for MAUI from from including the package dependencies. Included in the is the ability to have a Platforms directory where Android, IOS, MacCatalyst and Windows subdirectories are automatically included or excluded based on . This build capability is extremely helpful in building non-MAUI dependent platform libraries. For example, I have a networking project that supports Android, IOS, MacCatalyst, Windows, Linux and MacOS. The project includes both platform specific and shared implementations of networking APIs.

Also, having the ability to use the build system to build non-MAUI projects on Linux cloud pipeline hosts.

API Changes

Move the MAUI build project code into a separate package and true to include the MAUI build tools separate from the MAUI platform dependencies.

Intended Use Case

To use the MAUI build system for projects that include platform dependencies but don’t require the MAUI dependencies. This would also enable the building of projects on Linux as it would not require the MAUI workload to be installed.

ghost commented 2 years ago

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.