{"id":46487,"date":"2023-07-11T10:07:00","date_gmt":"2023-07-11T17:07:00","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/dotnet\/?p=46487"},"modified":"2023-07-11T10:18:24","modified_gmt":"2023-07-11T17:18:24","slug":"announcing-dotnet-maui-in-dotnet-8-preview-6","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet\/announcing-dotnet-maui-in-dotnet-8-preview-6\/","title":{"rendered":"Announcing .NET MAUI in .NET 8 Preview 6: Hello VS Code &amp; VS for Mac"},"content":{"rendered":"<p>.NET MAUI is now available in .NET 8 Preview 6 resolving 23 high-impact issues, and introducing <a href=\"https:\/\/devblogs.microsoft.com\/dotnet\/announcing-dotnet-8-preview-6\/#support-for-targeting-ios-platforms-with-nativeaot\">Native AOT for iOS<\/a>. Additionally, today you can now enjoy .NET MAUI in .NET 8 using the <a href=\"https:\/\/aka.ms\/maui-devkit-blog\">new .NET MAUI extension for Visual Studio Code<\/a>, and with the 17.6.1 release of Visual Studio for Mac.<\/p>\n<blockquote><p>A new .NET 7 Service Release is also available today. See the <a href=\"https:\/\/github.com\/dotnet\/maui\/releases\/tag\/7.0.92\">release notes<\/a> 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.<\/p><\/blockquote>\n<h2>What&#8217;s fixed and improved in .NET MAUI<\/h2>\n<p>Several top desktop issues have been addressed for fonts (<a href=\"https:\/\/github.com\/dotnet\/maui\/issues\/9104\">#9104<\/a>, <a href=\"https:\/\/github.com\/dotnet\/maui\/issues\/13239\">#13239<\/a>), navigation (<a href=\"https:\/\/github.com\/dotnet\/maui\/issues\/7698\">#7698<\/a>, <a href=\"https:\/\/github.com\/dotnet\/maui\/issues\/15488\">#15488<\/a>, <a href=\"https:\/\/github.com\/dotnet\/maui\/issues\/9938\">#9938<\/a>), tabs (<a href=\"https:\/\/github.com\/dotnet\/maui\/issues\/12386\">#12386<\/a>, <a href=\"https:\/\/github.com\/dotnet\/maui\/issues\/13239\">#13239<\/a>, <a href=\"https:\/\/github.com\/dotnet\/maui\/issues\/6929\">#6929<\/a>), and file picker (<a href=\"https:\/\/github.com\/dotnet\/maui\/issues\/11088\">#11088<\/a>). We also continue our journey to improve memory management and address leaks (<a href=\"https:\/\/github.com\/dotnet\/maui\/pull\/15062\">#15062<\/a>, <a href=\"https:\/\/github.com\/dotnet\/maui\/pull\/15303\">#15303<\/a>, <a href=\"https:\/\/github.com\/dotnet\/maui\/pull\/15831\">#15831<\/a>).<\/p>\n<p>.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&#8217;re excited about the possibility of achieving better performance and size savings when targeting iOS, check out the details in the <a href=\"https:\/\/devblogs.microsoft.com\/dotnet\/announcing-dotnet-8-preview-6\/#support-for-targeting-ios-platforms-with-nativeaot\">.NET 8 preview 6 blog post<\/a>.<\/p>\n<p>Thank you to all 25 contributors (bots included) that helped make this release, especially 5 brand new contributors to .NET MAUI: <a href=\"https:\/\/github.com\/expensivecow\">Michael Cao<\/a>, <a href=\"https:\/\/github.com\/widavies\">Will Davies<\/a>, <a href=\"https:\/\/github.com\/MartyIX\">@MartyIX<\/a>, <a href=\"https:\/\/github.com\/lewing\">Larry Ewing<\/a>, <a href=\"https:\/\/github.com\/filipnavara\">Filip Navara<\/a>, and <a href=\"https:\/\/github.com\/rdavisau\">Ryan Davis<\/a>.<\/p>\n<p>For a full list of fixes, check the <a href=\"https:\/\/github.com\/dotnet\/maui\/releases\/tag\/8.0.0-preview.6.8686\">release notes<\/a>.<\/p>\n<h2>Introducing VS Code (Preview)<\/h2>\n<p>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&#8217;s <a href=\"https:\/\/aka.ms\/maui-devkit-blog\">blog post introducing it here<\/a>.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2023\/07\/vscode_pointofsale.png\" alt=\"screenshot of Visual Studio Code debugging a .NET MAUI app in an Android emulator\" \/><\/p>\n<h2>How to update<\/h2>\n<p>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 &#8220;.NET MAUI (.NET 8 Preview)&#8221;.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2023\/06\/vs17.7-p2-installer.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-46109\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2023\/06\/vs17.7-p2-installer.png\" alt=\"Visual Studio installer checkbox for .NET MAUI and .NET 8 previews\" width=\"1296\" height=\"738\" srcset=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2023\/06\/vs17.7-p2-installer.png 1296w, https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2023\/06\/vs17.7-p2-installer-300x171.png 300w, https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2023\/06\/vs17.7-p2-installer-1024x583.png 1024w, https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2023\/06\/vs17.7-p2-installer-768x437.png 768w\" sizes=\"(max-width: 1296px) 100vw, 1296px\" \/><\/a><\/p>\n<p>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.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2023\/07\/vsm_enable_net8.png\" alt=\"Enable .NET 8 in Visual Studio 2022 for Mac\" \/><\/p>\n<p>Download the <a href=\"https:\/\/dotnet.microsoft.com\/download\/dotnet\/8.0\">.NET 8 preview 6 installer<\/a>, and then install .NET MAUI from the command line:<\/p>\n<pre><code class=\"language-bash\">dotnet workload install maui<\/code><\/pre>\n<h2>Feedback Welcome<\/h2>\n<p>We appreciate your feedback and contributions to .NET MAUI. You can <a href=\"https:\/\/github.com\/dotnet\/maui\/issues\/new\/choose\">report issues<\/a>, <a href=\"https:\/\/github.com\/dotnet\/maui\/issues\/new?assignees=&amp;labels=proposal%2Fopen%2Ct%2Fenhancement&amp;projects=&amp;template=feature-request.yml\">suggest features<\/a>, or <a href=\"https:\/\/github.com\/dotnet\/maui\/blob\/main\/.github\/CONTRIBUTING.md\">submit pull requests<\/a> 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.<\/p>\n<p>Thank you for your support and happy coding!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>.NET MAUI in .NET 8 Preview 6 has more new quality improvements for developers, experimental new AOT for iOS, and exciting new Visual Studio support.<\/p>\n","protected":false},"author":553,"featured_media":46488,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[685,7233],"tags":[7701,7238],"class_list":["post-46487","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dotnet","category-maui","tag-dotnet-8","tag-net-maui"],"acf":[],"blog_post_summary":"<p>.NET MAUI in .NET 8 Preview 6 has more new quality improvements for developers, experimental new AOT for iOS, and exciting new Visual Studio support.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/46487","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/users\/553"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/comments?post=46487"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/46487\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media\/46488"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media?parent=46487"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/categories?post=46487"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/tags?post=46487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}