Skip to content

.NET 11.0.1xx Preview 5 (11546)

Pre-release
Pre-release

Choose a tag to compare

@dalexsoto dalexsoto released this 09 Jun 22:52
· 120 commits to main since this release

We're excited to announce our fifth preview release for .NET 11!

Note

  • Xcode 26.5 is required with this release. Xcode 26.5 requires macOS 26.2+.

These are the base SDKs that add support for the platforms in question. For MAUI (which is built on top of our SDKs), visit: https://learn.microsoft.com/dotnet/maui/.

This release consists of the following versions:

Full release notes: .NET 11 release notes
Known issues: Known issues in .NET 11

Installation

You can use workload set version 11.0.100-preview.5.26309.3 in order to install these versions of the SDKs,
please make sure to be using the fifth preview of the .NET SDK 11.0.100 before issuing the dotnet workload install command below. You can validate your installed dotnet version using dotnet --version do make sure it shows 11.0.100 or greater before proceeding.

dotnet workload install <workload id(s)> --version 11.0.100-preview.5.26309.3

Available workload ids

Example command installing all listed workloads.

dotnet workload install ios tvos macos maccatalyst maui android --version 11.0.100-preview.5.26309.3

You can use dotnet workload --info to validate the workload versions installed in your system.

New features

(Experimental) CoreCLR

We've added support for using CoreCLR as the runtime for iOS, tvOS and Mac Catalyst, and this is now the default runtime.

Most apps will see:

  • Smaller app size.
  • Faster launch and runtime execution.
  • Faster builds, both for debug and release.

We're looking for testers to ensure everything works as expected - using CoreCLR should be a drop-in replacement (it's been the runtime on macOS since .NET 6)

To enable, add this to your project file:

<!-- Use CoreCLR on iOS -->
<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
    <UseMonoRuntime>false</UseMonoRuntime>
</PropertyGroup>

<!-- Use CoreCLR on tvOS -->
<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tvos'">
    <UseMonoRuntime>false</UseMonoRuntime>
</PropertyGroup>

<!-- Use CoreCLR on Mac Catalyst -->
<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">
    <UseMonoRuntime>false</UseMonoRuntime>
</PropertyGroup>

Please try this in your applications and report any issues, either if something doesn't work, or if app size or runtime performance is worse.

Known issues (these will be fixed in a future preview):

  • Debugging isn't supported yet
  • Some runtime diagnostics features aren't fully functional yet

This is an experimental feature and not intended for production use yet.

If you find that CoreCLR doesn't work, you can keep using Mono by adding this to your project file:

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

What's Changed

  • [xcode26.5] Initial bump PR for Xcode 26.5 Beta 1 by @dalexsoto in #25071
  • [Photos] Update bindings up to Xcode 26.5 Beta 1 by @dalexsoto in #25101
  • [StoreKit] Update bindings up to Xcode 26.5 Beta 1 by @dalexsoto in #25102
  • [CoreServices] Add deprecated attributes to FSEventStream RunLoop P/Invokes and fix UnscheduleFromRunLoop bug by @dalexsoto in #25103
  • [MediaSetup] Add Mac Catalyst support by @dalexsoto in #25118
  • [CoreMotion] Clean up xtro files by @dalexsoto in #25116
  • [iTunesLibrary] Clean up xtro files by @dalexsoto in #25117
  • [xcode26.5] Merge main into xcode26.5 by @dalexsoto in #25127
  • [LocalAuthenticationEmbeddedUI] Update bindings and xtro by @dalexsoto in #25119
  • [SafetyKit] Enable bindings in MacCatalyst by @dalexsoto in #25134
  • [SystemConfiguration] Cleanup xtro files by @dalexsoto in #25132
  • [PrintCore] Update bindings and clear xtro by @dalexsoto in #25128
  • [SecurityUI] Clean up xtro by @dalexsoto in #25131
  • [xcode26.5] Merge main into xcode26.5 by @dalexsoto in #25159
  • [xcode26.5] Bump to Xcode 26.5 Beta 2 by @dalexsoto in #25167
  • [devops] Fix PR latest-commit detection by @rolfbjarne in #25231
  • [monotouch-test] Remove versioned code that's become dead due to min macOS version increasing. by @rolfbjarne in #25181
  • [StoreKit] Fix StoreKit iTunes identifier width. Fixes #25219. by @rolfbjarne in #25221
  • [net11.0] Fix PublishBuildAssets.proj path for newer Arcade SDK by @jonathanpeppers in #25260
  • [main] Update dependencies from dotnet/xharness by @dotnet-maestro[bot] in #25245
  • [main] Update dependencies from dotnet/macios by @dotnet-maestro[bot] in #25209
  • [tests] Enable nullability in Touch.Unit. by @rolfbjarne in #25204
  • [net11.0] Update dependencies from dotnet/macios by @dotnet-maestro[bot] in #25226
  • [dotnet] Add test project templates for all Apple platforms by @jonathanpeppers in #25195
  • [net11.0] Support multiple R2R images for ios/tvos apps by @rolfbjarne in #25077
  • [CoreML] Remove the 'MLModelCollectionDidChangeNotification' field, it's not available anymore. by @rolfbjarne in #25277
  • [devops] Make the API diff pipeline use a pr: trigger. by @rolfbjarne in #25284
  • [net11.0] Update dependencies from dotnet/dotnet by @dotnet-maestro[bot] in #25197
  • [automated] Merge branch 'main' => 'net11.0' by @github-actions[bot] in #25246
  • [xtro] Enable nullability and fix any issues. by @rolfbjarne in #25274
  • [AppKit] Implement manual bindings for notification event args properties that use literal strings. by @rolfbjarne in #25273
  • [AudioUnit] Adjust framework for a few constants. by @rolfbjarne in #25272
  • [QuartzComposer] Replace RSS-related field bindings with manual code that returns null. by @rolfbjarne in #25271
  • [CoreBluetooth] Remove CBUUIDValidRangeString. by @rolfbjarne in #25270
  • [github] Update aw. by @rolfbjarne in #25266
  • [tests] Fix flaky TestNSUrlSessionHandlerSendClientCertificate. Fixes #25240 by @rolfbjarne in #25258
  • [copilot] Add fix-random-ci-test-failure skill for diagnosing flaky tests by @rolfbjarne in #25256
  • Fix flaky UrlProtocolTest.RegistrarTest race condition. Fixes #25223 by @rolfbjarne in #25255
  • [dotnet] Fix CoreCLR framework signing with correct Info.plist tracking. Fixes #25248. by @rolfbjarne in #25254
  • Update README.md Downloads and Feedback sections from Xamarin to .NET workloads by @rolfbjarne in #25252
  • [tests] Fix flaky DeskCase_83099_InmutableDictionary keychain test by @rolfbjarne in #25251
  • [devops] Remove empty directories and extract archive-html-report template by @rolfbjarne in #25250
  • [tests] Use NSTemporaryDirectory instead of Xamarin.Cache in FSEventStreamTest by @rolfbjarne in #25243
  • [xcode26.5] Update to use Xcode 26.5 Beta 3 by @dalexsoto in #25293
  • [xcode26.5] Merge main into xcode26.5 by @dalexsoto in #25287
  • [devops] Make the tests pipeline use a pr: trigger. by @rolfbjarne in #25239
  • [tools] Add a new 'trimmable-static' registrar, that uses trimmable type maps. Fixes #23108. by @rolfbjarne in #25079
  • Fix unclosed markdown code block in scripts/README.md by @rolfbjarne in #25267
  • [tools] Extract helpers to deduplicate StaticRegistrar code by @rolfbjarne in #25253
  • [automated] Merge branch 'main' => 'net11.0' by @github-actions[bot] in #25286
  • [msbuild/dotnet] Use 'SdkIsSimulator' instead of 'ComputedPlatform'. by @rolfbjarne in #25234
  • Localized file check-in by OneLocBuild Task: Build definition ID 14411: Build ID 14005679 by @vs-mobiletools-engineering-service2 in #25305
  • [main] Update dependencies from dotnet/xharness by @dotnet-maestro[bot] in #25282
  • [workflows] Adjust the inter-branch merge flow to run daily + manually. by @rolfbjarne in #25307
  • Recompile macios-reviewer workflow with gh-aw v0.71.2 by @rolfbjarne in #25289
  • [tests] Fix flaky SecureTransportTest.Tls12 by ignoring network timeouts in CI by @rolfbjarne in #25302
  • LEGO: Pull request from lego/hb_5df43909-4a19-4f55-bc3f-9ea8fccf3c82_20260505064756191 to main by @csigs in #25325
  • Change DtdProcessing.Parse to DtdProcessing.Ignore in XML loading helpers by @rolfbjarne in #25268
  • [devops] Show "(Publish failed)" instead of broken VSDrops link when html report publish fails. by @rolfbjarne in #25233
  • [dotnet] Disable trimming when using CoreCLR in the simulator. by @rolfbjarne in #25315
  • [automated] Merge branch 'main' => 'net11.0' by @rolfbjarne in #25310
  • [apidiff] Update reference/stable versions to latest .NET 10 / Xcode 26.4 by @rolfbjarne in #25323
  • [dotnet] Remove some outdated code only applicable to .NET 6 (and not later .NET versions). by @rolfbjarne in #25327
  • [docs] Fix reference to the ReferenceNativeSymbol item. by @rolfbjarne in #25324
  • [FSKit] Update the cref target in an xml comment. by @rolfbjarne in #25328
  • [net11.0] Update dependencies from dotnet/dotnet by @dotnet-maestro[bot] in #25294
  • [src/docs] Fix broken links in source files and XML API docs by @rolfbjarne in #25329
  • Fix flaky CtorIPAddressPair test. Fixes #25242 by @rolfbjarne in #25308
  • [xcode26.5] Merge main into xcode26.5 by @dalexsoto in #25322
  • [xcode26.5] Update to Xcode 26.5 RC by @dalexsoto in #25321
  • [main] Update dependencies from dotnet/macios by @dotnet-maestro[bot] in #25342
  • LEGO: Pull request from lego/hb_5df43909-4a19-4f55-bc3f-9ea8fccf3c82_20260506054941025 to main by @csigs in #25343
  • Fix typo in src/Simd/README.md: "43-bit" → "32-bit" for NVector3i by @rolfbjarne in #25334
  • docs: fix stale .NET 6 framing and update archived xamarin-android link in SingleProject.md by @rolfbjarne in #25335
  • [net11.0] Update dependencies from dotnet/dotnet by @dotnet-maestro[bot] in #25340
  • LEGO: Pull request from lego/hb_5df43909-4a19-4f55-bc3f-9ea8fccf3c82_20260505174743293 to main by @csigs in #25338
  • Use shared SimctlOutputParser from Xamarin.MacDev for simctl JSON parsing by @rmarinho in #24856
  • [github] Fix reviewer skill to submit COMMENT on re-reviews to clear REQUEST_CHANGES state by @rolfbjarne in #25350
  • [tools/msbuild] Add InlineDlfcnMethodsStep as an opt-in custom linker step by @rolfbjarne in #24888
  • [net11.0] Update dependencies from dotnet/dotnet by @dotnet-maestro[bot] in #25353
  • [msbuild] Introduce SdkIsDesktop and SdkIsMobile properties by @rolfbjarne in #25326
  • [msbuild] Add com.apple.developer.payment-pass-provisioning to known entitlements by @rolfbjarne in #25332
  • Add code-radiator agentic workflow by @rolfbjarne in #25349
  • [tests] Fix underlying type for BrowserEngineKit enums. by @rolfbjarne in #25348
  • [tests] Using the strict dlfcn mode only works if monotouch-test is trimmed. by @rolfbjarne in #25354
  • Localized file check-in by OneLocBuild Task: Build definition ID 14411: Build ID 14036358 by @vs-mobiletools-engineering-service2 in #25356
  • [dotnet] Fix R2R --instruction-set computation for iOS/tvOS device builds by @kotlarmilos in #25337
  • Enable nullability and warnings-as-errors globally by @rolfbjarne in #25292
  • Localized file check-in by OneLocBuild Task: Build definition ID 14411: Build ID 14038264 by @vs-mobiletools-engineering-service2 in #25361
  • [net11.0] Update dependencies from dotnet/macios by @dotnet-maestro[bot] in #25351
  • [msbuild] Fix building apps with extensions remotely. by @rolfbjarne in #23509
  • [net11.0] Update dependencies from dotnet/macios by @dotnet-maestro[bot] in #25368
  • [github] Fix agentic workflows based on gh-aw guide by @rolfbjarne in #25364
  • [docs] Improve docs on updating API docs. by @rolfbjarne in #25366
  • [src] Add [Un]SupportedSimulator attributes. by @rolfbjarne in #25347
  • Add git branch safety instructions to copilot-instructions.md by @rolfbjarne in #25391
  • [tools] Use the new UnsupportedSimulator attribute to determine whether a Dlfcn method should be inlined or not. by @rolfbjarne in #25381
  • Fix nullability errors in mono-api-html and mono-api-info by @rolfbjarne in #25392
  • [xcode26.5] Update to stable version of Xcode 26.5 by @dalexsoto in #25394
  • [tests] Fix introspection TypoTest and improve allowed word management by @rolfbjarne in #25393
  • [main] Update dependencies from dotnet/macios by @dotnet-maestro[bot] in #25370
  • [main] Merge xcode26.5 into main by @dalexsoto in #25400
  • LEGO: Pull request from lego/hb_5df43909-4a19-4f55-bc3f-9ea8fccf3c82_20260509054811778 to main by @csigs in #25380
  • [macios-devtools] Bump devtools by @dalexsoto in #25402
  • Localized file check-in by OneLocBuild Task: Build definition ID 14411: Build ID 14077114 by @vs-mobiletools-engineering-service2 in #25406
  • [aw] Harden Code Radiator safe-outputs for scheduled runs by @Copilot in #25371
  • fix: treat missing expected cookie as transient network failure in TestNSurlSessionHandlerCookieContainerSetCookie by @Copilot in #25420
  • [src] Attempt to fix a race condition with NSObject.GetData. Fixes #25373. by @rolfbjarne in #25399
  • LEGO: Pull request from lego/hb_5df43909-4a19-4f55-bc3f-9ea8fccf3c82_20260508175345648 to main by @csigs in #25377
  • [xharness] Honor system dark mode in xharness web UI by @rolfbjarne in #25401
  • [tools] Fix IL2009 warning for generic types in linker XML descriptors by @rolfbjarne in #25415
  • LEGO: Pull request from lego/hb_5df43909-4a19-4f55-bc3f-9ea8fccf3c82_20260513055157079 to main by @csigs in #25414
  • fix: treat unexpected cookie values as transient network failures in cookie handler tests by @Copilot in #25419
  • [main] Keep using the desktop MSBuild assemblies when building from within Visual Studio. by @rolfbjarne in #25417
  • LEGO: Pull request from lego/hb_5df43909-4a19-4f55-bc3f-9ea8fccf3c82_20260513174343331 to main by @csigs in #25423
  • LEGO: Pull request from lego/hb_5df43909-4a19-4f55-bc3f-9ea8fccf3c82_20260514054804289 to main by @csigs in #25425
  • [aw] Allow dotted Xcode branches in Code Radiator PR base policy by @Copilot in #25426
  • [main] Update dependencies from dotnet/macios by @dalexsoto in #25433
  • [main] Update dependencies from dotnet/xharness by @dotnet-maestro[bot] in #25436
  • [automated] Merge branch 'main' => 'net11.0' by @github-actions[bot] in #25331
  • [tests] Upgrade tests/msbuild to NUnit v4 Assert.That syntax by @rolfbjarne in #25431
  • [ObjCRuntime] Improve super calls - Fixes #25362 by @rolfbjarne in #25376
  • docs: fix broken link in native-library-interop.md by @rolfbjarne in #25439
  • [tests] Upgrade tests/introspection to NUnit v4 Assert.That syntax by @rolfbjarne in #25442
  • Delete old NuGet.config feeds. by @rolfbjarne in #25449
  • Fix docs/bindas.md links pointing to personal fork instead of dotnet/macios by @rolfbjarne in #25441
  • [tests] Fix flaky NSPasteboardTests.DetectMetadataTests on macOS by @rolfbjarne in #25450
  • [main] Update dependencies from dotnet/macios by @dotnet-maestro[bot] in #25460
  • [msbuild/tools] Add netstandard2.0 helper string functions. by @rolfbjarne in #25375
  • Add option to build (partially) without Xcode. by @rolfbjarne in #25429
  • [tests] Fix transient TLS/network failures in MessageHandlerTest tests by @rolfbjarne in #25452
  • [tools] Fix marking generated block code when not using any of the static registrars by @rolfbjarne in #25434
  • [apidiff] Update reference/stable versions to latest .NET 10 / Xcode 26.5 by @dalexsoto in #25457
  • [github] Simplify the yaml lint action to not post a comment. by @rolfbjarne in #25467
  • [github] Remove unused workflows. by @rolfbjarne in #25466
  • [github] Use/require fewer permissions in the 'Bump global.json' workflow. by @rolfbjarne in #25469
  • [github] Enable cooldown for dependabot. by @rolfbjarne in #25470
  • [github] Remove the backport trigger workflow. by @rolfbjarne in #25471
  • [github] Harden 'Maestro changelog' workflow permissions and pin actions by @rolfbjarne in #25472
  • [tests] Fix actool warnings in test icon asset catalogs by @rolfbjarne in #25475
  • [tests] Ignore the AppSize tests for now. by @rolfbjarne in #25480
  • [copilot] Add CI postmortem skill and weekly agentic workflow by @rolfbjarne in #25303
  • [tests] Upgrade tests/monotouch-test to NUnit v4 Assert.That syntax by @rolfbjarne in #25456
  • [tools] Fix a nullability issue in the create-dotnet-linker-launch-json tool. by @rolfbjarne in #25474
  • Add *.lscache to .gitignore. by @rolfbjarne in #25455
  • [mtouch] Remove unused code from mtouch by @rolfbjarne in #25428
  • [devops] Fan the linker tests out per platform. by @rolfbjarne in #25486
  • [net11.0] Merge main into net11.0. by @rolfbjarne in #25448
  • [msbuild] Bump Xamarin.MacDev and use PDictionary.[Try]OpenFile. by @rolfbjarne in #25382
  • [main] Update dependencies from dotnet/dotnet by @dotnet-maestro[bot] in #25230
  • [tests] Upgrade tests/linker to NUnit v4 Assert.That syntax by @rolfbjarne in #25484
  • [tools] Keep track of removed/unavailable frameworks in our list of frameworks. by @rolfbjarne in #25490
  • [net11.0] Strip CoreCLR/R2R frameworks in Debug on devices by @kotlarmilos in #25360
  • [sharpie] Show a helpful error message when installed on x64 by @rolfbjarne in #25359
  • [net11.0] [builds] Fix .NET SDK installation on Windows for .NET 11+ by @rolfbjarne in #25492
  • [tests] Upgrade tests/dotnet to NUnit v4 Assert.That syntax by @rolfbjarne in #25487
  • [net11.0] Merge main into net11.0. by @rolfbjarne in #25502
  • [net11.0] Update dependencies from dotnet/macios by @dotnet-maestro[bot] in #25519
  • [release/11.0.1xx-preview5] Update dependencies from dotnet/dotnet by @dotnet-maestro[bot] in #25556

New Contributors

Full Changelog: dotnet-11.0.1xx-preview4-11514...dotnet-11.0.1xx-preview5-11546