Is it safe to migrate to .NET 8.0 #15326
Replies: 12 comments 20 replies
-
Is it safe? No. New PRs tend to break old things and the .NET 8 branch is definitely not stable. For example there is a big issue with BindingContext on Windows that I recently reported. However there is a good chance that the .NET 8 will be much better in release candidates than the current .NET 7 releases, so if you are developing it now and you are blocked by many bugs in .NET 7, I would give it a try. Personally I find the nightly builds of main branch even better for development. You can find them here: https://dev.azure.com/xamarin/public/_build?definitionId=57 They are built against .NET 7, in my experience it's quite stable on Windows and it has the latest bug fixes. I hope that by the time I finish the app, there will be stable release out already. |
Beta Was this translation helpful? Give feedback.
-
@williambuchanan2 Until .NET8 if MAUI is not good for you, another choice, only if you can, try to build with Xamarin.Forms that is stable. |
Beta Was this translation helpful? Give feedback.
-
.NET 8 should be selectable as new target framework on November in visual studio |
Beta Was this translation helpful? Give feedback.
-
simple answer... NO! |
Beta Was this translation helpful? Give feedback.
-
Yes!!! You can using Visual Studio 17.7.0 Preview 1.0 I have converted one app, and started 2 new applications! [.NET8 Preview is available in the template dropdown!] Make sure you install .net8 using Visual Studio installer, and then, install the latest MAUI as detailed... One thing I have definitely noticed is the app runtime speed has improved... ALOT! I am currently working on a custom framework that includes over 20 custom controls... ie: TabView, AnimatedNavigationPage, SlideViews, Dropdown, Custom DialogView (popup/messagebox). etc. Here is a link to a video that show SOME of the functionality ... (in progress) https://youtu.be/S_-Y2zZhuRs |
Beta Was this translation helpful? Give feedback.
-
My issue is that I have a ,NET 7 MAUI app, and I get crashes in the real world, and then I see they are fixed in MAUI 8 preview 1 or 8 preview 4, etc. I am using Visual Studio for Mac, which does not properly support .NET/MAUI 8 either. It seems to me it was a bad call to tie major MAUI releases with .NET releases. We can't wait a year to do proper updates. There is this whole NuGet system in place, let's use that. I understand there is some way to use updates via NuGet (though I cannot find the instructions at the moment) but if memory serves it is a very manual process. Why are they not available on a MS NuGet server that we can just add to our IDEs |
Beta Was this translation helpful? Give feedback.
-
Please do not use a pre-release version in production, wait until RC1 at minimum when MS typically gives their "go-live" approval. .NET 7 is still getting service releases. That said, I agree a year is way too long to wait for major fixes not being backported. This package has been particularly useful in the meantime: https://www.nuget.org/packages/PureWeen.Maui.FixesAndWorkarounds |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
I have tried the .net 8 preview and I strongly recommend not using it for production as it is less stable than .net 7 and also introduces new bugs so there is no real reason to use it now for anything other than testing and reporting, but never for production or anything close to it |
Beta Was this translation helpful? Give feedback.
-
@UkeHa I am looking for a fix for the keyboard overlap and that does not work for me - it just works in some scenarios... Appreciate any feedback on this |
Beta Was this translation helpful? Give feedback.
-
Ok guys. I migrated a pretty large app from XF to .NET 7 MAUI and I ended up in a desaster. We talk about 200h+ of migration effort until I had to realize, there is no chance .NET 7 MAUI will ever fix all the remaining issues the migration produced (rendering issues, slow navigation, NREs, … a lot of troubles). Desperately, I tried the latest preview of .NET 8 MAUI which did not seem to solve any of the (obvious) issues. |
Beta Was this translation helpful? Give feedback.
-
Xamarin.Forms can build with iOS 17, Android 14, if you don't need latest platform API. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all
From reading I have found that the Maui team are fixing issues in .NET 8, and then if the issue is critical enough they are then backfixing it in .NET 7. I believe also some issues are not getting fixed in .NET 7 (i.e. they are only being fixed in .NET 8, so .NET 7 is technically already abandoned).
First, is this true?
If so, would it be wise to migrate everything to .NET 8 now?
I need to have this app released well before the November release date of .NET 8, so it would be a gamble to migrate, but with the current version being such a disaster would there be more chance of getting a stable release from a pre-release version of .NET 8 than sticking to .NET 7?
Beta Was this translation helpful? Give feedback.
All reactions