Announcing .NET MAUI in .NET 8 Release Candidate 2: More Quality
Today, we take one step closer to .NET 8 general availability (GA) by shipping .NET MAUI in .NET 8 release candidate 2 (RC2). As with RC1, this release is covered by a go-live license so you can receive support when using it in your production applications. In this release we have focused on issues that regressed throughout the previews, and regaining some performance that was lost as we improved the reliability of hot reload, visual state manager, bindings, and app themes.
In addition to our narrowed focus on regressions we have also increased the battery of manual tests and automated testing. There are no breaking API changes between .NET 7 and .NET 8, so you can expect the upgrade for your applications to go smoothly in that respect. For more information about upgrading from 7 to 8, follow this simple guide.
Highlights from this release:
Performance Improvements: Several performance improvements were made, including enhancements to the performance of ActivityExtensions.GetWindowFrame on Android, and “Setter Specificity” performance. These optimizations contribute to smoother app performance. (#17241, #17364, #17230, #17505, #17545).
UI and Control Fixes: Several fixes and updates were made to controls and UI elements, including fixes related to CollectionView, TabBar visibility, RoundRectangle Borders, and Android text alignment. With these your app UI is more consistent and visually accurate across platforms. (#16870, #17240, #17261, #17353, #17430, #17594), #17567).
Platform-Specific Fixes: Several platform-specific fixes were made, including drag-and-drop functionality, tab bar appearance, and specific platform behaviors, ensuring a consistent user experience across platforms. (#15748, #16561, #17495, #17041, #17358.
The release also includes numerous other bug fixes, enhancements, and contributions. Check out the full release notes for more details.
Bonus: .NET 7 Service Release
Today we have also shipped .NET MAUI service release 8 (version 7.0.96) for .NET 7 including select high-priority fixes for layout, memory leaks, CollectionView, safe area, and more. You can use this service release by installing .NET 8 RC2 using one of the methods below and continuing to build your applications to target .NET 7.
Alternatively, you can acquire 7.0.96 by upgrading to Visual Studio 17.7.5.
Bonus 2: Xcode 15 and Android API 34
Xamarin developers can now use Xcode 15 to target the latest versions (e.g iOS 17, iPadOS 17), and target Android API 34 in order to be compliant with store policies. To do this, install Visual Studio 17.8 Preview 3 or the latest stable version of Visual Studio for Mac and configure your environment as usual. This does not provide newer platform APIs, but does enable existing projects to continue building while you complete your upgrades to .NET 8 and .NET MAUI regardless of the Xamarin end-of-support date next year.
How to update
Download the .NET 8 RC2 installer, and then install .NET MAUI from the command line:
dotnet workload install maui
Through the retirement of Visual Studio for Mac next year you can continue developing using Visual Studio for Mac after enabling the preview feature for .NET 8 in Preferences.
On Windows, update or install Visual Studio 2022 17.8 preview 3 to get .NET 8 RC2 with .NET MAUI (and 7.0.96).
We appreciate your feedback and contributions to .NET MAUI. You can report issues, suggest features, or submit pull requests on our GitHub repository. You can also join our Discord server or follow us on Twitter to stay in touch with the latest news and updates.
Thank you to all 23 contributors (and bots) who helped put this release together!
Thank you for your support and happy coding!