Migrate to .NET MAUI from Xamarin.Forms Faster Than Ever - .NET Upgrade Assistant for Visual Studio

preview_player
Показать описание
The time is now to start migrating, upgrading, and updating your Xamairn & Xamarin.Forms apps to .NET & .NET MAUI! It has also never been easier to make this transition thanks to the new .NET Upgrade Assistant built directly into Visual Studio 2022. I set out to give you a complete guide and walk-through of a real-world application from start to finish. This will cover custom fonts, NuGet packages, Xamarin.Essentials, Xamarin Community Toolkit, Images, and more! By the end of this video, you will be completely ready to start and finish your migration!

Relevant Videos:

Links:

Join this channel to get access to perks:

Follow:

Chapters:
00:00 - Intro
01:00 - Migration Considerations for Xamarin.Forms
03:00 - App & Code Walkthrough
03:50 - Install & Use .NET Upgrade Assistant
09:15 - Fixing Complication Errors (differences between Xamarin.Forms and .NET MAUI)
12:45 - Merge code into new .NET MAUI Application
19:00 - Fonts, Images, and other Resources
23:30 - Platform Specific Code & Dependency Service/Injection
28:08 - Documentation overview for Migration
29:25 - Wrap-up and final thoughts

Disclaimer: This channel, videos, and streams are created in my spare time and are a product of me... James Montemagno! They are NOT officially affiliated or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.

My Setup:

#dotnetmaui #xamarinforms #visualstudio #dotnet
Рекомендации по теме
Комментарии
Автор

Nice video for those who were using xamarin forms. Still no news on the InAppBilling video? 😮

mimo
Автор

If we don't include iOS Android Targets and Unit Test projects our XF app sln has 16 projects. Can the Upgrade Assistant be asked to target them all at once? Do we manually upgrade each project from the bottom up?

MunkiiYebee
Автор

This video drops just in time as I finish up a month-long conversion of our Xamarin.Forms app to MAUI.😂It's been a ride! Not a very smooth one unfortunately.

timothydog
Автор

Great video, James! Thanks for making such content - it makes our lives easier) BTW, just in case you will have a spare minute, it would be really great to hear your thoughts on the latest announcement of VS for mac retirement. How the development on mac will now look like? I do know lot of people that just bought the mac machines in order to able to develop mobile apps with xamarin/maui. Should they now switch to Rider as alternative?

yaroslavpelyukh
Автор

Good evening! Thank you for this great video!! We are trying to migrate our app to MAUI and we see that await is obsolete, do we have to user another thing or simply the Preferencies are saved automtically? THank you very much

AngeloLazzari
Автор

Hi James. Are you aware that the app may run in the iOS simulator but won't build (i.e., archive for publishing)? doesn't have a target for 'net7.0-ios'. I'm facing the same issue with an app we're migrating following the steps in this video. Even adding a blank .net standard class library project to an empty MAUI app results in a build error.

neil
Автор

I just ran the upgrade assistant on one of my projects. It appears to be mostly successful and did not give any errors related to the migration. However, it did not create a Platforms folder or any of its expected contents. Dotnet 8 is what I migrated to.

gregorymoore
Автор

Hello boss can you please make a video on Xamarin native to .Net MAUI

yoriichi
Автор

Can you make one video in dotnet Maui android, that how we read OTP automatically.

adilbangush
Автор

Gif images not play animation android platform?

AnisaMzher-ruzg
Автор

Hi James, great video thank you. Is Maui production ready? There are a lot of posts saying it is full of bugs. Is this true?

Tommor
Автор

Hi @all if any project is complete in Xamarin project so is this mendatory to migrate in .net MAUI

RichaMaheshwari-htiu
Автор

James - is MAUI in trouble? VS for Mac retiring really concerns me. I've poured a lot of time and resources into MAUI. It seems like a really small team, and Microsoft is being quiet about whether or not it's really committed to it.

dtcartoon
Автор

James, or if anyone else can help. When we do this, the Project template “maui application” doesn’t exist. What are we doing wrong?

Tommor
Автор

James, I am trying to convert my xamarin forms app to MAUI. I am trying to follow your video but when I select upgrade, the project template dropdown shows only "Empty project". I don't see "Maui application" like you show in your video

arunrajramalingam
Автор

Why can’t we upgrade XamarinAndroid and XamariniOS using the tool? I am asking it because I tried to upgrade it using the tool.

PratikSolanki
Автор

Do I need to upgrade my referenced xamarin forms nuget packages beforehand? To be compiled the main project?

SaveTheHedgehog
Автор

Do you not specify Android Version in Application>Android Targets> Target Android Framework?

gwisekor
Автор

How to do MAUI migration using MAC machine?

batcodes
Автор

I dont have an "Upgrade" option when right-clicking on my Xamarin.Forms .csproj file. How do I address this?

divanvanzyl