.NET MAUI Migration from Xamarin.forms

Mattia Pisilli 0 Reputation points
2025-01-09T16:13:59.0733333+00:00

Hi,

as a result of migrating from xamarin to .NET MAUI, using the migration tool “Upgrade Assistant” provided by microsoft, I have resolved the various errors related to solution compilation.

The code compiles correctly and even manages to emulate on physical device but as soon as the app is launched on the device, the app closes without giving any error or exception.

Trying to make a build of the solution, visual studio does not detect any kind of error and tries to emulate the app correctly on the device or emulator. (The above behavior occurs with physical android device and emulator)

Can you please give us support?

Thank you,

Mattia

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,372 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,066 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,859 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.