.NET 11.0.1xx Preview 7 (11996)
Pre-releaseWe're excited to announce our seventh preview release for .NET 11!
Note
- Xcode 26.6 is required with this release. Xcode 26.6 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:
- iOS: 26.5.11997-net11-p7
- tvOS: 26.5.11997-net11-p7
- Mac Catalyst: 26.5.11997-net11-p7
- macOS: 26.5.11997-net11-p7
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.7.26410.2 in order to install these versions of the SDKs,
please make sure to be using the sixth 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.7.26410.2Available workload ids
- ios
- tvos
- macos
- maccatalyst
- android (see https://github.com/dotnet/android)
- maui (see https://github.com/dotnet/maui)
Example command installing all listed workloads.
dotnet workload install ios tvos macos maccatalyst maui android --version 11.0.100-preview.7.26410.2You can use dotnet workload --info to validate the workload versions installed in your system.
New features
CoreCLR
We've switched to using CoreCLR as the runtime for iOS, tvOS and Mac Catalyst (it's been the runtime for macOS since .NET 6).
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.
Please test your applications and report any issues, either if something doesn't work, or if app size or runtime performance is worse.
Known issues
Debugging doesn't work with ReadyToRun
There's an incompatibility between the debugger and ReadyToRun, causing the app to crash when launched with the debugger.
The workaround is to disable ReadyToRun in the project file:
<PropertyGroup>
<PublishReadyToRun>false</PublishReadyToRun>
</PropertyGroup>What's Changed
- [Accounts] Fix ACFacebookAudience.OnlyMe mapping in SetPermissions by @rolfbjarne in #26133
- [assembly-preparer] Compute the method-override map lazily. by @rolfbjarne in #26022
- [assembly-preparer] Don't run the preserve/optimize/mark steps when not trimming. by @rolfbjarne in #26014
- [assembly-preparer] Fix IL2036 unresolved type in DynamicDependency with link-all. Fixes #26017 by @rolfbjarne in #26040
- [assembly-preparer] Log per-step timings and whether each step modified assemblies. by @rolfbjarne in #25944
- [assembly-preparer] Only run RegistrarRemovalTrackingStep if the platform assembly is trimmed. by @rolfbjarne in #25941
- [assembly-preparer] Skip re-serializing assemblies that weren't modified. by @rolfbjarne in #25971
- [assembly-preparer] Speed up InlineDlfcnMethodsStep. by @rolfbjarne in #26039
- [assembly-preparer] Subclass AssemblyModifierStep in ListExportedSymbols. by @rolfbjarne in #25942
- [assembly-preparer] Use a trimmer feature switch for DynamicRegistrationSupported. by @rolfbjarne in #25939
- [AVFoundation] Fix signature for LoadTrack*/LoadTracks* methods. Fixes #25606 by @rolfbjarne in #25653
- [bgen] Cache attribute lookups to reduce memory allocations by @rolfbjarne in #25782
- [bgen] Propagate nullability information for generic type arguments. Fixes #16860 by @rolfbjarne in #25541
- [docs] Improve XML docs for AccountStoreOptions and AppKitThreadAccessException by @rolfbjarne in #26132
- [docs] Improve XML docs for CBCentralManager, HKAnchoredObjectQuery, and 5 other types by @rolfbjarne in #26122
- [docs] Improve XML docs for DoubleClick events and NSEdgeInsets by @rolfbjarne in #26151
- [docs] Improve XML docs for EKParticipantScheduleStatus and 19 other types by @rolfbjarne in #26059
- [docs] Improve XML docs for EKSourceType, EKAlarmProximity, EKEntityMask, EKEntityType, EKAlarmType by @rolfbjarne in #26036
- [docs] Improve XML docs for ModelAttribute by @rolfbjarne in #25964
- [docs] Improve XML docs for MPNowPlayingInfo by @rolfbjarne in #25808
- [docs] Improve XML docs for MPNowPlayingInfoCenter by @rolfbjarne in #25819
- [docs] Improve XML docs for MPSImageScale, NEFilterFlow, and 11 other types by @rolfbjarne in #26091
- [docs] Improve XML docs for MPSkipIntervalCommand by @rolfbjarne in #25788
- [docs] Improve XML docs for MPVolumeSettings by @rolfbjarne in #25796
- [docs] Improve XML docs for NSFontCollectionAction, AppKitFramework, SKReceiptRefreshRequest, NSBrowser, NSLevelIndicator, NSPopUpButton by @rolfbjarne in #26220
- [docs] Improve XML docs for ObjCException, NLLanguage, CFHTTPAuthentication, CFHTTPStream, EKParticipantType, EKErrorCode, EKWeekday by @rolfbjarne in #25976
- [docs] Improve XML docs for QLPreviewPanel by @rolfbjarne in #25926
- [docs] Improve XML docs for SKCloudServiceSetupOptions by @rolfbjarne in #25748
- [docs] Improve XML docs for SKError by @rolfbjarne in #25957
- [docs] Improve XML docs for SKReceiptProperties by @rolfbjarne in #25774
- [docs] Improve XML docs for SRAbsoluteTime, MPMediaItemArtwork, SKPaymentTransactionState, SKDownloadState, CGPDFPage, CGShading, CGLayer by @rolfbjarne in #25945
- [docs] Improve XML docs for StoreProductParameters by @rolfbjarne in #25759
- [docs] Improve XML docs for TWRequestMethod by @rolfbjarne in #25904
- [docs] Improve XML docs for TWTweetComposeViewControllerResult by @rolfbjarne in #25901
- [docs] Improve XML docs for UIImage, UIView, and 11 other types by @rolfbjarne in #26068
- [docs] Improve XML docs for WebActionMouseButton by @rolfbjarne in #25855
- [docs] Improve XML docs for WebNavigationPolicyEventArgs by @rolfbjarne in #25859
- [docs] Improve XML docs for WKWindowFeatures by @rolfbjarne in #25832
- [dotnet-linker] Gate the TypeMap proxy-attribute workaround to .NET 10 only. Fixes #25276 by @rolfbjarne in #26018
- [dotnet-linker] Gate the TypeMap workaround for dotnet/runtime#127504 on .NET 10 and earlier. Fixes #25275 by @rolfbjarne in #26010
- [dotnet] Add 'Desktop' classification to Mac Catalyst and macOS templates. Fixes #15136. by @rolfbjarne in #25863
- [dotnet] Add 'Microsoft.Win32.SystemEvents' back into SignList.xml. by @rolfbjarne in #26078
- [dotnet] Add displayName to template symbols for localization. Fixes #20718. by @rolfbjarne in #25714
- [dotnet] Add icons to the project templates. Fixes #17169 by @rolfbjarne in #26062
- [dotnet] Add WaitForExit, StandardOutputPath, StandardErrorPath MSBuild properties. Fixes #24848 by @rolfbjarne in #25715
- [dotnet] Add Xcode 27.0 packages for .NET 10. by @rolfbjarne in #26071
- [dotnet] Default PublishTrimmed=false when there's nothing for the trimmer to do. by @rolfbjarne in #25909
- [dotnet] Don't quote the 'RunCommand' property. by @rolfbjarne in #25764
- [dotnet] Enable AOT generic instantiation deduplication when PrepareAssemblies=true by @rolfbjarne in #25894
- [dotnet] Fix
dotnet teston macOS and Mac Catalyst templates by @jonathanpeppers in #25963 - [dotnet] Fix inlined-dlfcn native symbol generation when the trimmer is skipped by @rolfbjarne in #25999
- [dotnet] Make the RecommendedXcodeVersion MSBuild property public by @rolfbjarne in #26097
- [dotnet] Remove DOTNET_STARTUP_HOOKS 'env' workaround. Fixes #25799. by @rolfbjarne in #26008
- [dotnet] Set a default PublishRuntimeIdentifier again. Fixes #24547 by @rolfbjarne in #26013
- [dotnet] Show a clear error when PublishSingleFile is set. Fixes #16754 by @rolfbjarne in #25978
- [dotnet] Support 'dotnet watch' (Hot Reload) on physical devices. Fixes #25408 by @rolfbjarne in #26070
- [Foundation] Don't load all frameworks on launch on macOS. by @rolfbjarne in #25997
- [Foundation] Fix NSCoder.Encode(byte[], offset, count, key) to honor offset/count by @rolfbjarne in #26015
- [main] Bump mlaunch to support Xcode 27 Device Hub by @dalexsoto in #25768
- [main] Update to use stable Xcode 26.6 by @dalexsoto in #25852
- [msbuild/dotnet] Fix remote Release builds when using plural RuntimeIdentifiers. Fixes #24046. by @rolfbjarne in #24228
- [msbuild/tools] Move post-trimming custom trimmer steps to a post-ILLink MSBuild task. by @rolfbjarne in #25742
- [msbuild] Add an EnableCrashReport property to enable .NET crash reports. Fixes #26130 by @rolfbjarne in #26134
- [msbuild] Always build referenced extension projects by default by @rolfbjarne in #25805
- [msbuild] Copy inputs to the remote Mac in the CompileNativeCode task. by @rolfbjarne in #25732
- [msbuild] Copy the .dSYM to the publish directory when publishing by @rolfbjarne in #26041
- [msbuild] Deprecate NoBindingEmbedding=false in .NET 11, remove in .NET 12 by @rolfbjarne in #25962
- [msbuild] Detect Mono-only build properties when not using the Mono runtime by @rolfbjarne in #26042
- [msbuild] Disable device-specific builds by default. by @rolfbjarne in #26005
- [msbuild] Don't let binding sidecar manifest metadata redirect native reference output paths by @dalexsoto in #25790
- [msbuild] Embed the app's symbols in the .ipa (IpaIncludeSymbols) by @rolfbjarne in #26043
- [msbuild] Fix app crash at launch when _ExportSymbolsExplicitly=false. Fixes #25491 by @rolfbjarne in #25494
- [msbuild] Fix building binding projects with 'dotnet build /t:Compile' by @rolfbjarne in #25914
- [msbuild] Fix partial-incremental _PostprocessAssemblies (MT2362) Fixes #25938 by @rolfbjarne in #25943
- [msbuild] Fix simulator OS version comparison in GetAvailableDevices by @rolfbjarne in #25975
- [msbuild] Improve interactive simulator selection by showing running simulators first. Fixes #25701 by @rolfbjarne in #25772
- [msbuild] Only run _CreateInstaller target for desktop platforms by @rolfbjarne in #25848
- [msbuild] Resolve Content and BundleResource items using the main project's location. Fixes 23898. by @rolfbjarne in #25713
- [msbuild] Restore library resources on incremental builds Fixes #5755 by @rolfbjarne in #26004
- [msbuild] Strip binding-embedded dynamic frameworks with 'strip -S -x'. Fixes #25952. by @rolfbjarne in #25970
- [msbuild] Support App Extensions on Mac Catalyst (fixes #17408) by @dalexsoto in #25940
- [msbuild] Validate extracted resource paths in UnpackLibraryResources by @rolfbjarne in #25911
- [NativeAOT] Complete "Skip ILLink" so ILC gets the prepared assemblies (gated to .NET 11+) by @rolfbjarne in #26193
- [NativeAOT] Generate native registrar code after ILC for trimmable-static by @rolfbjarne in #26194
- [NativeAOT] Skip ILLink when using ILC + PrepareAssemblies by @rolfbjarne in #26109
- [NativeAOT] Warn if a post-ILC postprocessing step modifies a managed assembly by @rolfbjarne in #26137
- [net11.0] [dotnet] Set DOTNET_MODIFIABLE_ASSEMBLIES environment variable for CoreCLR by @rolfbjarne in #25870
- [net11.0] Don't run GenerateR2RModuleRegistration remotely. by @rolfbjarne in #25950
- [net11.0] Exclude user assemblies from the Debug R2R input hash by @kotlarmilos in #25893
- [net11.0] Fix R2R composite build for resource/framework name collisions and re-enable the x64 CoreLib composite root by @kotlarmilos in #25876
- [net11.0] Pass excluded user assemblies to crossgen2 as references for Debug R2R by @kotlarmilos in #25879
- [NSUrlSessionHandler] Surface cancelled requests with a better exception. Fixes #25667. by @rolfbjarne in #25699
- [release/11.0.1xx-preview7] [msbuild] Don't turn missing Objective-C classes into hard link errors when inlining Class.GetHandle. Fixes #26268 by @rolfbjarne in #26347
- [runtime] Initialize the output directory for crash reports before loading CoreCLR. Fixes #25820 by @rolfbjarne in #25823
- [runtime] Read debugging environment variables on the main thread to avoid a race. by @rolfbjarne in #25878
- [runtime] Use SYSTEM_CORELIB_DIRECTORY to locate System.Private.CoreLib.dll by @rolfbjarne in #26009
- [sharpie] Emit correct nullability for block/delegate parameters by @rolfbjarne in #25837
- [src] Fix GC-safety issues in a number of APIs. by @rolfbjarne in #26147
- [templates] Add Framework parameter to project templates. Fixes #17319 by @rolfbjarne in #25884
- [templates] Fix typo in the 'appliesTo' element by @rolfbjarne in #26085
- [templates] Update test templates to MSTest 4.3.2 by @jonathanpeppers in #26060
- [templates] Use DOTNET_TFM placeholder and add TFM update script by @rolfbjarne in #25913
- Add
dotnet testintegration tests for all Apple platforms by @jonathanpeppers in #25320 - Expose application artifacts by @Redth in #25723
- Fix 'dotnet watch' with sandboxed Mac Catalyst apps by @rolfbjarne in #25738
- Re-enable the MonoVM test variations by @kotlarmilos in #25908
Full Changelog: dotnet-11.0.1xx-preview6-11720...dotnet-11.0.1xx-preview7-11996