3

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

 1 year ago
source link: https://devblogs.microsoft.com/dotnet/announcing-dotnet-maui-in-dotnet-8-preview-6/
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 Preview 6: Hello VS Code & VS for Mac

davidortinau-150x150.png

David Ortinau

July 11th, 202322 7

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

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!

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

Follow


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK