3

Announcing .NET MAUI in .NET 8 RC 2: More Quality

 11 months ago
source link: https://devblogs.microsoft.com/dotnet/announcing-dotnet-maui-in-dotnet-8-rc-2/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Announcing .NET MAUI in .NET 8 RC 2: More Quality

davidortinau-150x150.png

David Ortinau

October 10th, 202311 3

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.

Quality Improvements

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, #17527, #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, #17311, #17353, #17348, #17379, #17411, #17430, #17436, #17450, #17539, #17594).

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, #17567, #17495, #17041, #17358, #17524, #17530).

The release also includes numerous other bug fixes, enhancements, and contributions. Check out the full release notes for more details.

Additional information:

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, iPad 17), and build for 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

On all platforms, you can develop with .NET MAUI using Visual Studio Code. Install the .NET MAUI extension and let us know how we can improve this preview experience for you in the future.

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).

Feedback Welcome

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!

David Ortinau Principal Product Manager, .NET Multi-platform App UI

Follow


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK