July 11th, 2023
heart7 reactions

Announcing .NET MAUI in .NET 8 Preview 6: Hello VS Code & VS for Mac

David Ortinau
Principal Product Manager

.NET MAUI is now available in .NET 8 Preview 6 resolving 23 high-impact issues, and introducing Native AOT for iOS. Additionally, today you can now enjoy .NET MAUI in .NET 8 using the new .NET MAUI extension for Visual Studio Code, and with the 17.6.1 release of Visual Studio for Mac.

A new .NET 7 Service Release is also available today. See the release notes for full details. We are currently focusing on .NET 8 quality which means only the most critical fixes will be released for .NET 7. Once .NET 8 ships GA, we will re-evaluate the requirements for which fixes are included in service releases.

What’s fixed and improved in .NET MAUI

Several top desktop issues have been addressed for fonts (#9104, #13239), navigation (#7698, #15488, #9938), tabs (#12386, #13239, #6929), and file picker (#11088). We also continue our journey to improve memory management and address leaks (#15062, #15303, #15831).

.NET 8 preview 6 introduces Native AOT (ahead-of-time compilation) for iOS. Using this opt-in preview feature, we are currently seeing 30-40% reduction in app sizes compared to Mono. If you’re excited about the possibility of achieving better performance and size savings when targeting iOS, check out the details in the .NET 8 preview 6 blog post.

Thank you to all 25 contributors (bots included) that helped make this release, especially 5 brand new contributors to .NET MAUI: Michael Cao, Will Davies, @MartyIX, Larry Ewing, Filip Navara, and Ryan Davis.

For a full list of fixes, check the release notes.

Introducing VS Code (Preview)

Today we have also released the .NET MAUI extension for Visual Studio Code, providing a consistent development experience across Windows, macOS, and Linux. For full details on the extension, check out Maddy Montaquila’s blog post introducing it here.

screenshot of Visual Studio Code debugging a .NET MAUI app in an Android emulator

How to update

Visual Studio 2022 on Windows now includes .NET 8 previews and the .NET MAUI preview workload. Download the latest preview version (17.7 Preview 3), select the .NET Multi-platform App UI workload, and then check the optional component “.NET MAUI (.NET 8 Preview)”.

Visual Studio installer checkbox for .NET MAUI and .NET 8 previews

If you are on macOS, you can now develop using Visual Studio for Mac after enabling the preview feature for .NET 8 in Preferences and installing .NET 8 preview 6 from the installer.

Enable .NET 8 in Visual Studio 2022 for Mac

Download the .NET 8 preview 6 installer, and then install .NET MAUI from the command line:

dotnet workload install maui

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 for your support and happy coding!

Author

David Ortinau
Principal Product Manager

David is a Principal Product Manager for .NET at Microsoft, focused on .NET MAUI. A .NET developer since 2002, and versed in a range of programming languages, David has developed web, environmental, and mobile experiences for a wide variety of industries. After several successes with tech startups and running his own software company, David joined Microsoft to follow his passion: crafting tools that help developers create better app experiences. When not at a computer or with his family, David ...

More about author

27 comments

Discussion is closed. Login to edit/delete existing comments.

Sort by :