Edit

Share via


What's new in .NET MAUI for .NET 11

The focus of .NET Multi-platform App UI (.NET MAUI) in .NET 11 is to improve product quality. For information about what's new in each .NET MAUI in .NET 11 release, see the following release notes:

Important

Due to working with external dependencies, such as Xcode or Android SDK Tools, the .NET MAUI support policy differs from the .NET and .NET Core support policy. For more information, see .NET MAUI support policy.

In .NET 11, .NET MAUI ships as a .NET workload and multiple NuGet packages. The advantage of this approach is that it enables you to easily pin your projects to specific versions, while also enabling you to easily preview unreleased or experimental builds.

Feature

This is a description of the feature and essential code snippets to adopt it.

Controls

.NET MAUI in .NET 11 includes control enhancements and deprecations.

A specific control

What was added, removed, changed.

Platform features

.NET MAUI's platform features have received some updates in .NET 11.

Feature description

Description...

.NET for Android

.NET for Android in .NET 11 makes CoreCLR the default runtime for Release builds, and includes work to improve performance. For more information about .NET for Android in .NET 10, see the following release notes:

Feature

CoreCLR by Default

CoreCLR is now the default runtime for Release builds. This should improve compatibility with the rest of .NET as well as shorter startup times, with a reasonable increase to application size.

We are always working to improve performance and app size, but please file issues with stability or concerns by filing issues on GitHub.

If you would like to opt out of CoreCLR, and use the Mono runtime instead, you can still do so via:

<PropertyGroup>
  <UseMonoRuntime>true</UseMonoRuntime>
</ProperyGroup>

dotnet run

We have enhanced the .NET CLI with Spectre.Console to prompt when a selection is needed for dotnet run.

So, for multi-targeted projects like .NET MAUI, it will:

  • Prompt for a $(TargetFramework)
  • Prompt for a device, emulator, simulator if there are more than one.

Console output of your application should appear directly in the terminal, and Ctrl+C will terminate the application.

GIF of dotnet run selections on Windows for Android

GIF of dotnet run selections on macOS for iOS

.NET for iOS

.NET 11 on iOS, tvOS, Mac Catalyst, and macOS supports the following platform versions:

  • iOS: 18.2
  • tvOS: 18.2
  • Mac Catalyst: 18.2
  • macOS: 15.2

For more information about .NET 11 on iOS, tvOS, Mac Catalyst, and macOS, see the following release notes:

For information about known issues, see Known issues in .NET 11.

Feature

Description

See also