Difference between ".NET MAUI Multi-project App" and ".NET MAUI App"
Asked Answered
A

2

6

Is there somebody able to explain me what is the difference between :

  • .NET MAUI Application
  • .NET MAUI Multi-project App

The official MAUI Windows page doesn't mention the second project's model : https://learn.microsoft.com/en-us/dotnet/maui/get-started/first-app?pivots=devices-windows&view=net-maui-8.0&tabs=vswin.

When I worked with Xamarin solution last year there was a project for each platform in my xamarin Solution. Then, when I started on MAUI this january, I followed a guide which explains that the new MAUI solution has only one project with folder for different platform (first point). So I worked with this kind of project.

And now, because I needed to create a "test project" (for tutorial goal), I'm discovering the ".NET MAUI Multi-project App project" model, which contains a project by platform...

Is someone able to explain me what's going on ? What are the fundamentals differences between these 2 MAUI projects model ?

I'm expecting to understand what is the good choice to do in order to adapt my Xamarin (for android) app to an MAUI (for android) App

Ardel answered 24/5 at 19:56 Comment(0)
S
6

What are the fundamentals differences between these 2 MAUI projects model ?

I'm expecting to understand what is the good choice to do in order to adapt my Xamarin (for android) app to an MAUI (for android) App

Actually, there is no essential difference. Previously, VS only had the .NET MAUI App project template. Recently, .NET MAUI Multi-project App project template was added.

The biggest difference between the two is the project file structure, which should be familiar to you if you have developed Xamarin Forms before. So, .NET MAUI Multi-project App will be a good choice for you.

Swaraj answered 30/5 at 8:16 Comment(1)
This should be the accepted answer and don't forget to consider the Answer from Mustafa-Mutasim, a great hint.Araceli
S
3

It is suitable to upgrade from Xamarin to MAUI side-by-side

To get a all MAUI features, use NET MAUI App


Manually upgrade a Xamarin.Forms app to a multi-project .NET MAUI app


enter image description here enter image description here

Snapp answered 24/5 at 21:51 Comment(1)
Thanks for the hint! I wasn't aware of this.Araceli

© 2022 - 2024 — McMap. All rights reserved.