.NET MAUI Multi-Project App

This is a sample and template to help people during the migration - or if they still want to keep the multiple projects. One reason to have multiple projects is if you need to have very different versions of an app for a single platform.

Installing

dotnet new install MultiHeadMauiTemplates

Uninstalling

dotnet new uninstall MultiHeadMauiTemplates

Using

The template should appear in your IDE:

Alt text

Creating the project is as usual:

Alt text

The next page will have check boxes for you to select platforms:

Alt text

Known "Issues"

There are a few issues that may appear:

Development

To test the template in this repo locally, you can install it:

dotnet new install src/Microsoft.Maui.Templates.MauiMultiHeadApp/content --force

If you want to uninstall, you can also use the path:

dotnet new uninstall src/Microsoft.Maui.Templates.MauiMultiHeadApp/content