- Notifications
You must be signed in to change notification settings - Fork543
Releases: dotnet/macios
.NET 9 - Xcode 16.4 support (9207)
10f1ea3
Compare
Note
Xcode 16.4 is required with this release. Xcode 16.4 requires macOS 15.3+.
This is a servicing release to theprevious .NET 9 release.
Note: these are the base SDKs that add support for the platforms in question, for MAUI (which is built on top of our SDKs), go here instead:https://docs.microsoft.com/en-us/dotnet/maui/.
Versions
This release consists of the following versions:
Installation
You can useworkload set version9.0.302.0
in order to install these versions of the SDKs.
Please make sure to be using the latest9.0.302 before issuing thedotnet workload install
command below. You can
validate your installed dotnet version usingdotnet --version
do make sure it shows9.0.302
or greater before proceeding.
dotnet workload install<workload id(s)> --version 9.0.302.0
Available workload ids
- ios
- tvos
- macos
- maccatalyst
- android (seehttps://github.com/dotnet/android)
- maui (seehttps://github.com/dotnet/maui)
Example command installing all listed workloads.
dotnet workload install ios tvos macos maccatalyst maui android --version 9.0.302.0
You can usedotnet workload --info
to validate the workload versions installed in your system.
What's Changed
- [src/runtime] Don't allow native code to resolve a weak reference for an object in the finalizer queue. by@rolfbjarne in#23086
- [src] Fix checking if a constraint implements INativeObject. Fixes#23070. by@rolfbjarne in#23123
- Update Xamarin.Messaging and renamed Xamarin paths by@rolfbjarne in#23087
- [UIKit] Make sure to invoke the correct constructor. by@dalexsoto in#23131
- Updated external/Xamarin.MacDev by@dalexsoto in#23139
Full Changelog:dotnet-9.0.1xx-xcode16.4-9199...dotnet-9.0.1xx-xcode16.4-9207
Assets2
Uh oh!
There was an error while loading.Please reload this page.
.NET 10.0.1xx Preview 6 (10451)
96ea7cf
Compare
We're excited to announce our sixth preview release for .NET 10!
Note: 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:18.5.10415-net10-p6
- tvOS:18.5.10415-net10-p6
- Mac Catalyst:18.5.10415-net10-p6
- macOS:15.5.10415-net10-p6
Full release notes:.NET 10 release notes
Known issues:Known issues in .NET 10
Installation
You can useworkload set version10.0.100-preview.6.25365.1
in order to install these versions of the SDKs.
Please make sure to be using the corresponding preview of the.NET SDK 10.0.100 before issuing thedotnet workload install
command below. You can validate your installed dotnet version usingdotnet --version
do make sure it shows10.0.100
or greater before proceeding.
dotnet workload install<workload id(s)> --version 10.0.100-preview.6.25365.1
Available workload ids
- ios
- tvos
- macos
- maccatalyst
- android (seehttps://github.com/dotnet/android)
- maui (seehttps://github.com/dotnet/maui)
Example command installing all listed workloads.
dotnet workload install ios tvos macos maccatalyst maui android --version 10.0.100-preview.6.25365.1
You can usedotnet workload --info
to validate the workload versions installed in your system.
What's Changed
- [AccessorySetupKit] Introduce a default ctor for a few classes. by@rolfbjarne in#23040
- [Accounts] Fix nullability on delegates. by@mandel-macaque in#23063
- [ARKit] Fix nullability in delegate signatures. by@mandel-macaque in#23061
- [AVFoundation] Implement up to Xcode 16.4 beta 1. by@rolfbjarne in#22753
- [CoreMidi] Add a GetCheckedHandle method in a couple of classes, and use it. by@rolfbjarne in#22995
- [docs] Document 'CompressBindingResourcePackage'. by@rolfbjarne in#22978
- [docs] Document NoSymbolStrip. by@rolfbjarne in#22880
- [docs] Update docs about build items and properties with changes in the docs-mobile repository. by@rolfbjarne in#22986
- [dotnet] Fix computing _MonoComponents for Windows remote builds. Fixes#21244. by@rolfbjarne in#22929
- [dotnet] Fix dependency tracking for aot compilation. Fixes#21061. by@rolfbjarne in#22906
- [dotnet] Fix dependency tracking for trimming and native linking. Fixes#21223. by@rolfbjarne in#22911
- [dotnet] Improve entitlements lookup for AdditionalAppExtensions. Fixes#19242. by@rolfbjarne in#22882
- [dotnet] Set ApplicationTitle correctly for desktop apps. Fixes#20615. by@rolfbjarne in#22913
- [dotnet] Tweak error message about wrong Xcode version a bit. by@rolfbjarne in#22910
- [eng] Update with the latest .NET 8 packages. by@rolfbjarne in#22953
- [Foundation] Fix a CA1416 warning in RuntimeOptions.cs due to recent changes. by@rolfbjarne in#22883
- [Foundation] Fix all availability attributes in this framework. by@rolfbjarne in#22903
- [Foundation] NSUrlSessionHandler.ClientCertificateOptions is supported. by@rolfbjarne in#22884
- [FSKit] Re-introduce, it was finally released as stable in Xcode 16.3 / macOS 15.4. by@rolfbjarne in#22765
- [msbuild] Add validation for conflicting resources. Fixes#19029. by@rolfbjarne in#22996
- [msbuild] Correctly handle 'SkipCodesignItems' that are directories. Fixes#19222. by@rolfbjarne in#22962
- [msbuild] Don't connect to a remote mac for library projects that are bundling original resources. by@rolfbjarne in#22984
- [msbuild] Don't execute the ParseDeviceSpecificBuildInformation task on Mac Catalyst. by@rolfbjarne in#22887
- [msbuild] Enable design-time builds for binding projects when bundling original resources. Fixes#10148. by@rolfbjarne in#22985
- [msbuild] Enable nullability in most files and fix any issues. by@rolfbjarne in#22857
- [msbuild] Enable signing by default for all platforms. Fixes#18469. by@rolfbjarne in#20824
- [msbuild] Enable warnings as errors, and fix resulting errors. by@rolfbjarne in#23001
- [msbuild] Improve ComputeCodesignItems to take symlinked directories into account. Fixes#20193. by@rolfbjarne in#22907
- [msbuild] Refactor the ACTool task a bit to simplify code. by@rolfbjarne in#22980
- [msbuild] Unify and improve code to validate entitlements. by@rolfbjarne in#22794
- [Nomenclator] Deal correctly with nested classed. by@mandel-macaque in#22943
- [Nomenclator] Make nomenclator stateless. by@mandel-macaque in#22947
- [release/10.0.1xx-preview6] [src] Fix checking if a constraint implements INativeObject. Fixes#23070. by@rolfbjarne in#23124
- [release/10.0.1xx-preview6] [UIKit] Make sure to invoke the correct constructor. by@dalexsoto in#23132
- [RGen] Add a ArgumentForParameter method to create ArgumentSyntax from the parameter info. by@mandel-macaque in#23044
- [RGen] Add code to generate a aux variable for a NativeHandle. by@mandel-macaque in#23055
- [RGen] Add factory method to return a smart enum value from a NSString. by@mandel-macaque in#23027
- [RGen] Add missing tests for the special classes. by@mandel-macaque in#23034
- [RGen] Add out parameters initialization for trampolines. by@mandel-macaque in#22916
- [RGen] Add pre-conversion variable for Block callbacks. by@mandel-macaque in#23073
- [RGen] Add support for arrays in a delegate using BindFrom. by@mandel-macaque in#23005
- [RGen] Allow to generate a 'new' syntax using a known type. by@mandel-macaque in#23028
- [RGen] Allow to use BindFrom in delegates. by@mandel-macaque in#22965
- [Rgen] Be consistent in the use of global when we encounter a nint/nuint. by@mandel-macaque in#22931
- [RGen] Complete the native invoke implementation. by@mandel-macaque in#23049
- [RGen] Convert correctly nullable objects. by@mandel-macaque in#22941
- [RGen] Convert native values to managed enum values for the delegate execution. by@mandel-macaque in#22918
- [RGen] Correctly cast enum results from the native invocation. by@mandel-macaque in#23079
- [RGen] Ensure that if a parameter name is a keyword that '@' is used as a prefix. by@mandel-macaque in#22930
- [RGen] Ensure that we handle smart enums correctly when they are returned from the delegate. by@mandel-macaque in#23032
- [RGen] Factory method for the method signature of Invoke for the NI* classes. by@mandel-macaque in#22950
- [RGen] Factory method to perform the init of our params in the native invoke. by@mandel-macaque in#22961
- [RGen] Fix bug where we converted a bool to a byte when we needed the opposite. by@mandel-macaque in#22891
- [RGen] Fix missing 'global::' when using New. by@mandel-macaque in#22893
- [RGen] Fix nullable NSObject GetHandle calls. by@mandel-macaque in#23060
- [RGen] Fix the argument generation for a non nullable ref value type. by@mandel-macaque in#22894
- [RGen] Fix the arguments passing when the parameter is by ref. by@mandel-macaque in#22895
- [Rgen] Fix typo in NSString.CreateNative and make it global. by@mandel-macaque in#23033
- [RGen] Generate constructor and create method for the native invoker. by@mandel-macaque inhttps://githu...
Assets2
Uh oh!
There was an error while loading.Please reload this page.
.NET 9 - Xcode 16.4 support (9199)
cfa2b95
Compare
Note
Xcode 16.4 is required with this release. Xcode 16.4 requires macOS 15.3+.
This is a servicing release to theprevious .NET 9 release, with support forXcode 16.4
.
Note: these are the base SDKs that add support for the platforms in question, for MAUI (which is built on top of our SDKs), go here instead:https://docs.microsoft.com/en-us/dotnet/maui/.
Versions
This release consists of the following versions:
Installation
You can useworkload set version9.0.301.1
in order to install these versions of the SDKs, please make sure to be using the latest9.0.301 before issuing thedotnet workload install
command below. You can validate your installed dotnet version usingdotnet --version
do make sure it shows9.0.301
or greater before proceeding.
dotnet workload install<workload id(s)> --version 9.0.301.1
Available workload ids
- ios
- tvos
- macos
- maccatalyst
- android (seehttps://github.com/dotnet/android)
- maui (seehttps://github.com/dotnet/maui)
Example command installing all listed workloads.
dotnet workload install ios tvos macos maccatalyst maui android --version 9.0.301.1
You can usedotnet workload --info
to validate the workload versions installed in your system.
What's changed
Building binding projects on Windows without a Mac
Binding projects are now built entirely on Windows, there's no need for a remote Mac anymore.
This makes building binding projects on Windows significantly faster.
What's Changed
- [Accelerate] Fix all xtro todos for this framework by ignoring them all. by@rolfbjarne in#22574
- [AppKit] Improve and simplify the manually bound constructors for NSBitmapImageRep slightly. by@rolfbjarne in#22676
- [AppKit] Improve and simplify the manually bound constructors for NSGradient slightly. by@rolfbjarne in#22647
- [AppKit] Improve and simplify the manually bound constructors for NSImage slightly. by@rolfbjarne in#22533
- [AppKit] Improve and simplify the manually bound constructors for NSOpenGLPixelFormat slightly. by@rolfbjarne in#22716
- [AppKit] Improve and simplify the manually bound constructors for NSTextContainer slightly. by@rolfbjarne in#22655
- [AppKit] Remove all !NET code. by@rolfbjarne in#22739
- [AVFoundation] Add a default ctor for AVRouteDetector. Fixes#10139. by@rolfbjarne in#22534
- [AVFoundation] Implement up to Xcode 16.4 beta 1. by@rolfbjarne in#22753
- [AVFoundation] Improve and simplify the manually bound constructors for AVAudioRecorder slightly. by@rolfbjarne in#22529
- [bgen] Add default xml docs for properties that represents fields. by@rolfbjarne in#22651
- [bgen] Add more xml docs for async operations. by@rolfbjarne in#22642
- [bgen] Add more xml docs for filters. by@rolfbjarne in#22641
- [bgen] Add support for writing xml docs for async methods. by@rolfbjarne in#22639
- [bgen] Add support for writing xml docs for events. by@rolfbjarne in#22640
- [bgen] Add xml docs for event args subclasses based on NSNotifications. by@rolfbjarne in#22570
- [bgen] Add xml docs for generated strong dictionary classes. by@rolfbjarne in#22569
- [bgen] Add xml docs to CIFilter constructors. by@rolfbjarne in#22545
- [bgen] Fix docid generation for nested types by@rolfbjarne in#22646
- [BGen] Fix the GC.KeepAlive issues with the BindAs attr. by@mandel-macaque in#22554
- [bgen] Fix xml docs for properties with backing fields. by@rolfbjarne in#22643
- [bgen] Inject documentation for the 'This' parameter we add to category methods. by@rolfbjarne in#22553
- [bgen] More xml docs for event args. by@rolfbjarne in#22588
- [CFNetwork] Fix all availability attributes in this framework. by@rolfbjarne in#22698
- [CloudKit] Improve and simplify a few manually bound constructors. by@rolfbjarne in#22657
- [CoreBluetooth] Fix nullability in a few CBCentralManager.ScanForPeripherals overloads. Fixes#22610. by@rolfbjarne in#22630
- [CoreImage] Simplify CIFilter.OutputImage. by@rolfbjarne in#22711
- [CoreLocation] Improve and simplify the manually bound constructors for CLBeaconRegion slightly. by@rolfbjarne in#22644
- [CoreTransferable] This is a Swift framework, so don't bind it. by@rolfbjarne in#22573
- [docs] Add docs on the branching codeflow. by@rolfbjarne in#22900
- [docs] Document NoSymbolStrip. by@rolfbjarne in#22880
- [docs] Update urls to document about exception marshaling. by@rolfbjarne in#22572
- [dotnet] Add a 'EnableProfiler' property to enable the 'diagnostics_tracing' component. Fixes#19370. by@rolfbjarne in#22685
- [dotnet] Build all scripts before doing surgery on the local .NET installation. by@rolfbjarne in#22654
- [dotnet] Fix dependency tracking for aot compilation. Fixes#21061. by@rolfbjarne in#22906
- [dotnet] Fix dependency tracking for trimming and native linking. Fixes#21223. by@rolfbjarne in#22911
- [dotnet] Fix selecting NSUrlSessionHandler when not choosing a specific handler. by@rolfbjarne in#22863
- [dotnet] Improve entitlements lookup for AdditionalAppExtensions. Fixes#19242. by@rolfbjarne in#22882
- [dotnet] Tweak error message about wrong Xcode version a bit. by@rolfbjarne in#22910
- [Foundation] Add a few missing NSDictionary members. Fixes#22817. by@rolfbjarne in#22820
- [Foundation] Don't use ServicePointManager to get minimum TLS protocol. by@rolfbjarne in#22517
- [Foundation] Fix a CA1416 warning in RuntimeOptions.cs due to recent changes. by@rolfbjarne in#22883
- [Foundation] Fix all availability attributes in this framework. by@rolfbjarne in#22903
- [Foundation] Fix removal of background check in NSUrlSessionHandler. by@rolfbjarne in#22518
- [Foundation] Improve and simplify the manually bound constructors for NSAttributedString slightly. by@rolfbjarne in#22587
- [Foundation] Improve and simplify the manually bound constructors for NSHttpCookie slightly. by@rolfbjarne in#22740
- [Foundation] Improve and simplify the manually bound constructors for NSString slightly. by@rolfbjarne in#22659
- [Foundation] Improve and simplify the manually bound constructors for NSThread slightly. by@rolfbjarne in#22662
- [Foundation] Improve and simplify the manually bound constructors for NSUrlProtectionSpace slightly. by@rolfbjarne in#22599
- [Foundation] Improve and simplify the manually bound constructors for NSUserDefaults slightly. by@rolfbjarne in#22637
- [Foundation] NSUrlSessionHandler.ClientCertificateOptions is supported. by@rolfbjarne in#22884
- [FSKit] Re-introduce, it was finally released as stable in Xcode 16.3 / macOS 15.4. by@rolfbjarne in#22765
- [GameController] Fix all availability attributes in this framework. by@rolfbjarne in#22726
- [GameController] Implement up to Xcode 16.3. by@rolfbjarne in#22699
- [GameKit] Fix accidental breaking change in parameter name. by@rolfbjarne in#22586
- [GameKit] Fix all availability attributes in this framework. by@rolfbjarne in#22532
- [GameplayKit] Improve and simplify the manually bound constructors for GKPath slightly. by@rolfbjarne in#22847
- [Intents] Improve and simplify the manually bound constructors...
Assets2
Uh oh!
There was an error while loading.Please reload this page.
.NET 10.0.1xx Preview 5 (10622)
04de16f
Compare
We're excited to announce our fifth preview release for .NET 10!
Note: 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:18.4.10622-net10-p5
- tvOS:18.4.10622-net10-p5
- Mac Catalyst:18.4.10622-net10-p5
- macOS:15.4.10622-net10-p5
Full release notes:.NET 10 release notes
Known issues:Known issues in .NET 10
Installation
You can useworkload set version10.0.100-preview.5.25306.3
in order to install these versions of the SDKs, please make sure to be using the corresponding preview of the.NET SDK 10.0.100 before issuing thedotnet workload install
command below. You can validate your installed dotnet version usingdotnet --version
do make sure it shows10.0.100
or greater before proceeding.
dotnet workload install<workload id(s)> --version 10.0.100-preview.5.25306.3
Available workload ids
- ios
- tvos
- macos
- maccatalyst
- android (seehttps://github.com/dotnet/android)
- maui (seehttps://github.com/dotnet/maui)
Example command installing all listed workloads.
dotnet workload install ios tvos macos maccatalyst maui android --version 10.0.100-preview.5.25306.3
You can usedotnet workload --info
to validate the workload versions installed in your system.
What's Changed
- [AppKit] Improve and simplify the manually bound constructors for NSBitmapImageRep slightly. by@rolfbjarne in#22676
- [AppKit] Improve and simplify the manually bound constructors for NSOpenGLPixelFormat slightly. by@rolfbjarne in#22716
- [AppKit] Remove all !NET code. by@rolfbjarne in#22739
- [bgen] Add default xml docs for properties that represents fields. by@rolfbjarne in#22651
- [CFNetwork] Fix all availability attributes in this framework. by@rolfbjarne in#22698
- [CoreBluetooth] Fix nullability in a few CBCentralManager.ScanForPeripherals overloads. Fixes#22610. by@rolfbjarne in#22630
- [CoreImage] Simplify CIFilter.OutputImage. by@rolfbjarne in#22711
- [Foundation] Add a few missing NSDictionary members. Fixes#22817. by@rolfbjarne in#22820
- [Foundation] Improve and simplify the manually bound constructors for NSHttpCookie slightly. by@rolfbjarne in#22740
- [GameController] Fix all availability attributes in this framework. by@rolfbjarne in#22726
- [GameController] Implement up to Xcode 16.3. by@rolfbjarne in#22699
- [GameplayKit] Improve and simplify the manually bound constructors for GKPath slightly. by@rolfbjarne in#22847
- [Metal] Fix a few issues in MTLRasterizationRateLayerDescriptor. by@rolfbjarne in#22804
- [MetricKit] Fix an issue with availability attributes. by@rolfbjarne in#22810
- [ModelIO] Improve and simplify the manually bound constructors for MDLNoiseTexture slightly. by@rolfbjarne in#22844
- [msbuild] A few project file improvements to make the msbuild projects work well in VSCode. by@rolfbjarne in#22811
- [msbuild] Don't try to log a null exception. by@rolfbjarne in#22799
- [msbuild] Fix placing app extensions for Mac Catalyst. by@rolfbjarne in#22795
- [msbuild] Improve logging in XamarinTask.ExecuteAsync to show duration of external command. by@rolfbjarne in#22779
- [msbuild] introduce
_CompileAppManifestInputs
by@jonathanpeppers in#22745 - [msbuild] Sort inputs when doing aot compilation and native compilation. by@rolfbjarne in#22755
- [msbuild] Unify code to launch external processes. by@rolfbjarne in#22752
- [msbuild] Validate a few macOS-only entitlements. Fixes#22729. by@rolfbjarne in#22743
- [msbuild] Validate the required Xcode version. by@rolfbjarne in#22800
- [net10.0] [dotnet] Add a way to get help with how apps are launched on mobile. by@rolfbjarne in#22858
- [net10.0] [dotnet] Use the 'ComputeRunArguments' target to compute properties for 'dotnet run'. by@rolfbjarne in#22816
- [net10.0] [tests] Revert ignored NativeAOT tests that were failing due to a dotnet/sdk issue. by@rolfbjarne in#22728
- [NetworkExtension] Improve and simplify the manually bound constructors for NEHotspotConfiguration slightly. by@rolfbjarne in#22665
- [OpenGL] Remove !NET code. by@rolfbjarne in#22713
- [OpenGLES] Remove !NET code and tweak docs a little bit. by@rolfbjarne in#22708
- [release/10.0.1xx-preview5] [msbuild] Don't execute the ParseDeviceSpecificBuildInformation task on Mac Catalyst. by@rolfbjarne in#22915
- [release/10.0.1xx-preview5] [SystemConfiguration] Fix accidental break in NetworkReachability.Schedule|Unschedule. by@rolfbjarne in#22914
- [release/10.0.1xx-preview5] Update dependencies from dotnet/dotnet by@dotnet-maestro in#22896
- [runtime/src] Raise the AppDomain.UnhandledException event on CoreCLR. Fixes#15252. by@rolfbjarne in#22778
- [runtime] Implement workaround for an interpreter bug where it returns incorrect small integer values to reverse P/Invokes. by@rolfbjarne in#22727
- [runtime] Remove 32-bit code (x86 and armv7*). by@rolfbjarne in#22667
- [Security] Add SecKeyChain.QueryAsConcreteType to macOS. by@rolfbjarne in#22710
- [SpriteKit] Fix all availability attributes in this framework. by@rolfbjarne in#22674
- [SpriteKit] Simplify SKVideoNode creation code. by@rolfbjarne in#22719
- [src/tests/tools] Remove legacy xamarin logic from the TargetFramework class. by@rolfbjarne in#22761
- [src] Fix make dependency to make apidefinition.dll rebuild when an api definition file changes. by@rolfbjarne in#22759
- [src] Fix missing _OR_GREATER in conditional constants. by@rolfbjarne in#22738
- [src] Ignore warnings related to xml docs when compiling core and api definition assemblies. by@rolfbjarne in#22712
- [src] Import xml docs for members, part 21. by@rolfbjarne in#22669
- [src] Import xml docs for members, part 22/22. by@rolfbjarne in#22678
- [src] Improve generics support. by@rolfbjarne in#22527
- [src] Numerous fixes in the xml docs. Fixes#17399. by@rolfbjarne in#22715
- [src] Remove pointer-size checks and code. by@rolfbjarne in#22666
- [StoreKit] Fix all availability attributes in this framework. by@rolfbjarne in#22690
- [SystemConfiguration] Fix all availability attributes in this framework. by@rolfbjarne in#22709
- [tools] Remove nnyeah, it's no longer used. by@rolfbjarne in#22700
- [UIKit] Fix all availability attributes in this framework. by@rolfbjarne in#22720
- [UIKit] Mark UIGraphicsRenderer and derived classes as thread-safe. Fixes#22597. by@rolfbjarne in#22600
- [UserNotifications] Fix nullability for UNUserNotificationCenter.GetPendingNotificationRequests's response. by@rolfbjarne in#22833
- [WebKit] Fix all availability attributes in this framework. by@rolfbjarne in#22848
- [workload] Add Microsoft.$(platform).Runtimes frameworks by@pjcollins in#22756
- [xma] Added targets and tasks to copy modified dll and pdb files back to Windows by@mauroa in#22677
- Remove some watchOS code/logic. by@rolfbjarne in#22818
- Replace all instances of 'xamarin/xamarin-macios' with 'dotnet/macios' by@mcumming in#227...
Assets2
Uh oh!
There was an error while loading.Please reload this page.
.NET 10.0.1xx Preview 4 (10471)
b0ddb24
Compare
We're excited to announce our fourth preview release for .NET 10!
Note: 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:18.4.10471-net10-p4
- tvOS:18.4.10471-net10-p4
- Mac Catalyst:18.4.10471-net10-p4
- macOS:15.4.10471-net10-p4
Full release notes:.NET 10 release notes
Known issues:Known issues in .NET 10
Installation
You can useworkload set version10.0.100-preview.4.25263.1
in order to install these versions of the SDKs, please make sure to be using the second preview of the.NET SDK 10.0.100 before issuing thedotnet workload install
command below. You can validate your installed dotnet version usingdotnet --version
do make sure it shows10.0.100
or greater before proceeding.
dotnet workload install<workload id(s)> --version 10.0.100-preview.4.25263.1
Available workload ids
- ios
- tvos
- macos
- maccatalyst
- android (seehttps://github.com/dotnet/android)
- maui (seehttps://github.com/dotnet/maui)
Example command installing all listed workloads.
dotnet workload install ios tvos macos maccatalyst maui android --version 10.0.100-preview.4.25263.1
You can usedotnet workload --info
to validate the workload versions installed in your system.
What's Changed
- [Accessibility] Implement up to Xcode 16.3 beta 2. by@rolfbjarne in#22346
- [AccessorySetupKit] Implement up to Xcode 16.3 beta 2. by@rolfbjarne in#22333
- [API] Fix all GC.KeepAlive issues in manual code. by@mandel-macaque in#22474
- [AppKit/UIKit] Implement up to Xcode 16.3 RC. by@rolfbjarne in#22468
- [AppKit] Improve and simplify the manually bound constructors for NSGradient slightly. by@rolfbjarne in#22647
- [AppKit] Improve and simplify the manually bound constructors for NSImage slightly. by@rolfbjarne in#22533
- [AppKit] Improve and simplify the manually bound constructors for NSTextContainer slightly. by@rolfbjarne in#22655
- [AuthenticationServices] Implement up to Xcode 16.3 RC. by@rolfbjarne in#22448
- [AVFoundation] Add a default ctor for AVRouteDetector. Fixes#10139. by@rolfbjarne in#22534
- [AVFoundation] Implement up to Xcode 16.3 beta 2. by@rolfbjarne in#22362
- [AVFoundation] Improve and simplify the manually bound constructors for AVAudioRecorder slightly. by@rolfbjarne in#22529
- [BackgroundAssets] Implement up to Xcode 16.3 beta 2. by@rolfbjarne in#22363
- [BackgroundAssets] Implement up to Xcode 16.3 beta 3. by@rolfbjarne in#22450
- [BGen] Add missing GC.KeepAlive on CIImageFilter constructor. by@mandel-macaque in#22475
- [bgen] Add more xml docs for async operations. by@rolfbjarne in#22642
- [bgen] Add more xml docs for filters. by@rolfbjarne in#22641
- [bgen] Add support for writing xml docs for async methods. by@rolfbjarne in#22639
- [bgen] Add support for writing xml docs for events. by@rolfbjarne in#22640
- [bgen] Add xml docs for event args subclasses based on NSNotifications. by@rolfbjarne in#22570
- [bgen] Add xml docs for generated strong dictionary classes. by@rolfbjarne in#22569
- [bgen] Add xml docs to CIFilter constructors. by@rolfbjarne in#22545
- [BGen] Ensure that Handlers of ref parameters are not GC collected. by@mandel-macaque in#22462
- [BGen] Fix argument tests for generic types. by@mandel-macaque in#22453
- [bgen] Fix docid generation for nested types by@rolfbjarne in#22646
- [BGen] Fix GC.Collect issues in the CIImage setters. by@mandel-macaque in#22470
- [BGen] Fix the GC.KeepAlive issues with the BindAs attr. by@mandel-macaque in#22554
- [bgen] Fix xml docs for properties with backing fields. by@rolfbjarne in#22643
- [bgen] Inject documentation for the 'This' parameter we add to category methods. by@rolfbjarne in#22553
- [bgen] More xml docs for event args. by@rolfbjarne in#22588
- [bgen] Show more than one BE1077 error before bailing completely. by@rolfbjarne in#22480
- [CarPlay] Implement up to Xcode 16.3 beta 2. by@rolfbjarne in#22374
- [CloudKit] Improve and simplify a few manually bound constructors. by@rolfbjarne in#22657
- [CoreFoundation] Fix all availability attributes in this framework. by@rolfbjarne in#22473
- [CoreFoundation] Implement up to Xcode 16.3 beta 2. by@rolfbjarne in#22399
- [CoreGraphics] Fix all availability attributes in this framework. by@rolfbjarne in#22478
- [CoreImage] Fix all availability attributes in this framework. by@rolfbjarne in#22483
- [CoreLocation] Improve and simplify the manually bound constructors for CLBeaconRegion slightly. by@rolfbjarne in#22644
- [CoreMedia] Fix all availability attributes in this framework. by@rolfbjarne in#22495
- [CoreMedia] Implement up to Xcode 16.3 beta 2. by@rolfbjarne in#22377
- [CoreMidi] Fix all availability attributes in this framework. by@rolfbjarne in#22508
- [CoreSpotlight] Implement up to Xcode 16.3 beta 2. by@rolfbjarne in#22330
- [CoreText] Fix all availability attributes in this framework. by@rolfbjarne in#22501
- [CoreVideo] Fix all availability attributes in this framework. by@rolfbjarne in#22511
- [docs] Update urls to document about exception marshaling. by@rolfbjarne in#22572
- [dotnet] Quote MlaunchPath so that it works if the mlaunch path has spaces. Fixes#22481. by@rolfbjarne in#22500
- [FileProvider] Implement up to Xcode 16.3 beta 2. by@rolfbjarne in#22388
- [Foundation] Don't use ServicePointManager to get minimum TLS protocol. by@rolfbjarne in#22517
- [Foundation] Fix removal of background check in NSUrlSessionHandler. by@rolfbjarne in#22518
- [Foundation] Implement up to Xcode 16.3 beta 2. by@rolfbjarne in#22351
- [Foundation] Improve and simplify the manually bound constructors for NSAttributedString slightly. by@rolfbjarne in#22587
- [Foundation] Improve and simplify the manually bound constructors for NSString slightly. by@rolfbjarne in#22659
- [Foundation] Improve and simplify the manually bound constructors for NSThread slightly. by@rolfbjarne in#22662
- [Foundation] Improve and simplify the manually bound constructors for NSUrlProtectionSpace slightly. by@rolfbjarne in#22599
- [Foundation] Improve and simplify the manually bound constructors for NSUserDefaults slightly. by@rolfbjarne in#22637
- [GameKit] Fix accidental breaking change in parameter name. by@rolfbjarne in#22586
- [GameKit] Fix all availability attributes in this framework. by@rolfbjarne in#22532
- [GameKit] Implement up to Xcode 16.3 beta 3. by@rolfbjarne in#22413
- [HomeKit] Implement up to Xcode 16.3 beta 3. by@rolfbjarne in#22414
- [Intents] Improve and simplify the manually bound constructors for INPerson slightly. by@rolfbjarne in#22544
- [LockedCameraCapture] Ignore this framework. by@rolfbjarne in#22415
- [MapKit] Improve and simplify the manually bound constructors for MKMapCameraZoomRange slightly. by@rolfbjarne in#22542
- [MapKit] Improve and simplify the manual...
Assets2
Uh oh!
There was an error while loading.Please reload this page.
.NET 9 - Xcode 16.3 support (9288)
dd5e708
Compare
🚨Xcode 16.3 is required with this release. Xcode 16.3 requires macOS 15.2+.
This is a servicing release to theprevious .NET 9 release, with support for Xcode 16.3.
Note: these are the base SDKs that add support for the platforms in question, for MAUI (which is built on top of our SDKs), go here instead:https://docs.microsoft.com/en-us/dotnet/maui/.
Versions
This release consists of the following versions:
Installation
You can useworkload set version9.0.203
in order to install these versions of the SDKs, please make sure to be using the latest.NET SDK 9.0.203 before issuing thedotnet workload install
command below. You can validate your installed dotnet version usingdotnet --version
do make sure it shows9.0.203
or greater before proceeding.
dotnet workload install<workload id(s)> --version 9.0.203
Available workload ids
- ios
- tvos
- macos
- maccatalyst
- android (seehttps://github.com/dotnet/android)
- maui (seehttps://github.com/dotnet/maui)
Example command installing all listed workloads.
dotnet workload install ios tvos macos maccatalyst maui android --version 9.0.203
You can usedotnet workload --info
to validate the workload versions installed in your system.
What's changed
Support for bundling original resources in libraries
Library projects can have various types of bundle resources (storyboards, xibs, property lists, png images, CoreML models, texture atlases, etc.), and they're bundled into the compiled library as embedded resources.
If any processing can be done (such as compiling storyboards or xibs, or optimizing property lists/png images, etc), this has historically been done before embedding, but this complicates library builds a lot, because this processing:
- Needs to run on a Mac, because compiling xibs/storyboards can only be done on a Mac.
- Needs Apple's toolchain around.
- Makes it impossible to do any decision-making based on the original resources when building the app.
So we've added opt-in support for embedding the original resource in libraries in .NET 9 (it will become opt-out in .NET 10).
The default behavior can be changed in the project file like this:
<PropertyGroup> <BundleOriginalResources>true</BundleOriginalResources></PropertyGroup>
Ref:#19028
Disallowed duplicated attributes in api definitions in binding projects
In the past, we've allowed duplicated availability attributes in binding projects:
[iOS(17,0)][iOS(18,0)][BaseType(typeof(NSObject))]interfaceMyObject{ ...}
This is obviously not correct, and the resulting behavior by the binding generator has been random, so starting with this release, we've marked the availability attributes as single-use only, and this code will raise a compiler error.
References:
Improved debug build time when using the interpreter
We've disabled an optimization (to decrease the app size) when using the interpreter, because it increases build time (which is more important to keep low for debug builds than the app size), and additionally it even made the app size bigger (when using the interpreter), and as such was not useful.
The end result is faster builds and smaller apps when using the interpreter.
References:
An error occurs if trying to use a static library with Hot Restart
An error will be shown if trying to use a static library with Hot Restart, because this will typically result in an app that doesn't work as expected. This new error can be ignored if desired, by using theSkipStaticLibraryValidation property in the project file.
References:
Community Highlights
Special thanks to@filipnavara for his contribution#22337, the contributed code and Roslyn analyzer allowed our team to fix more than 52k+ potential GC issues.
What's Changed
- [Accessibility] Implement up to Xcode 16.3 beta 2. by@rolfbjarne in#22346
- [AccessorySetupKit] Implement up to Xcode 16.3 beta 2. by@rolfbjarne in#22333
- [AccessorySetupKit] Make ASAccessorySession have a default ctor. Fixes#22352. by@rolfbjarne in#22358
- [AddressBook[UI]] Fix all availability attributes in these frameworks. by@rolfbjarne in#22252
- [AppKit/UIKit] Implement up to Xcode 16.3 RC. by@rolfbjarne in#22468
- [AppKit] Fix all availability attributes in this framework. by@rolfbjarne in#22261
- [AudioToolbox] Fix all availability attributes in this framework. by@rolfbjarne in#22329
- [AuthenticationServices] Implement up to Xcode 16.3 RC. by@rolfbjarne in#22448
- [AVFoundation] Add missing APIs up to Xcode 16.2. by@rolfbjarne in#21878
- [AVFoundation] Fix all availability attributes in this framework. by@rolfbjarne in#22428
- [AVFoundation] Implement up to Xcode 16.3 beta 2. by@rolfbjarne in#22362
- [AVKit] Add missing APIs and fix all xtro issues. by@rolfbjarne in#21836
- [BackgroundAssets] Implement up to Xcode 16.3 beta 2. by@rolfbjarne in#22363
- [BackgroundAssets] Implement up to Xcode 16.3 beta 3. by@rolfbjarne in#22450
- [Bgen/Rgen] Rename method to be an overload of GetValue. by@mandel-macaque in#22266
- [bgen] Accumulate BI1118 errors instead of bailing out on the first one. by@rolfbjarne in#21973
- [BGen] Add missing GC.KeepAlive on CIImageFilter constructor. by@mandel-macaque in#22475
- [Bgen] Ensure that GC.KeepAlive is called in extension methods. by@mandel-macaque in#22433
- [BGen] Ensure that Handlers of ref parameters are not GC collected. by@mandel-macaque in#22462
- [BGen] Fix argument tests for generic types. by@mandel-macaque in#22453
- [Bgen] Fix bug in trampolines related to GC.KeepAlive issues. by@mandel-macaque in#22445
- [BGen] Fix GC.Collect issues in the CIImage setters. by@mandel-macaque in#22470
- [Bgen] Improve the generated code for SmarEnum BindAs calls. by@mandel-macaque in#22323
- [bgen] Propagate more xml docs. by@rolfbjarne in#21972
- [BGen] Remove support for the System.Drawing objects. by@mandel-macaque in#22247
- [bgen] Show more than one BE1077 error before bailing completely. by@rolfbjarne in#22480
- [BGen] Simplify BindAs for smart enums. by@mandel-macaque in#22222
- [BGen] Simplify the BindAs generated code for NSNumber and NSValue. by@mandel-macaque in#22302
- [Bgen] Simplify the BindAs generated code. by@mandel-macaque in#22216
- [Bgen] Simplify the BindAs of arrays. by@mandel-macaque in#22277
- [Bgen] Simplify the NSValue BindAS generated code. by@mandel-macaque in#22257
- [Bgen] Use GetHandle in the trampoline NSArray code. by@mandel-macaque in#22398
- [CarPlay] Implement up to Xcode 16.3 beta 2. by@rolfbjarne in#22374
- [CarPlay] Keep ignoring on Mac Catalyst. by@rolfbjarne in#22451
- [CFNetwork] Fix all availability attributes in this framework. by@rolfbjarne in#22441
- [CoreBluetooth] Fix all availability attributes in this framework. by@rolfbjarne in#22452
- [CoreFoundation] Fix all availability attributes in this framework. by@rolfbjarne in#22473
- [CoreFoundation] Implement up to Xcode 16.3 beta 2. by@rolfbjarne in#22399
- [CoreFoundation] Remove !NET code. by@rolfbjarne in#22160
- [CoreGraphics] Add missing availability attributes. Fixes#22107. by@rolfbjarne in#22145
- [CoreGraphics] Fix all availability attributes in this framework. by@rolfbjarne in#22478
- [CoreHapti...
Assets2
Uh oh!
There was an error while loading.Please reload this page.
.NET 10.0.1xx Preview 3 (10695)
425ab2e
Compare
We're excited to announce our third preview release for .NET 10!
Note: 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:18.2.10695-net10-p3
- tvOS:18.2.10695-net10-p3
- Mac Catalyst:18.2.10695-net10-p3
- macOS:15.2.10695-net10-p3
Full release notes:.NET 10 release notes
Known issues:Known issues in .NET 10
Installation
You can useworkload set version10.0.100-preview.3.25208.1
in order to install these versions of the SDKs, please make sure to be using the second preview of the.NET SDK 10.0.100 before issuing thedotnet workload install
command below. You can validate your installed dotnet version usingdotnet --version
do make sure it shows10.0.100
or greater before proceeding.
dotnet workload install<workload id(s)> --version 10.0.100-preview.3.25208.1
Available workload ids
- ios
- tvos
- macos
- maccatalyst
- android (seehttps://github.com/dotnet/android)
- maui (seehttps://github.com/dotnet/maui)
Example command installing all listed workloads.
dotnet workload install ios tvos macos maccatalyst maui android --version 10.0.100-preview.3.25208.1
You can usedotnet workload --info
to validate the workload versions installed in your system.
What's Changed
- [AccessorySetupKit] Make ASAccessorySession have a default ctor. Fixes#22352. by@rolfbjarne in#22358
- [AddressBook[UI]] Fix all availability attributes in these frameworks. by@rolfbjarne in#22252
- [AppKit] Fix all availability attributes in this framework. by@rolfbjarne in#22261
- [AudioToolbox] Fix all availability attributes in this framework. by@rolfbjarne in#22329
- [AVFoundation] Fix all availability attributes in this framework. by@rolfbjarne in#22428
- [Bgen/Rgen] Rename method to be an overload of GetValue. by@mandel-macaque in#22266
- [bgen/tests] Remove !NET code. by@rolfbjarne in#22385
- [Bgen] Ensure that GC.KeepAlive is called in extension methods. by@mandel-macaque in#22433
- [Bgen] Fix bug in trampolines related to GC.KeepAlive issues. by@mandel-macaque in#22445
- [Bgen] Improve the generated code for SmarEnum BindAs calls. by@mandel-macaque in#22323
- [BGen] Simplify the BindAs generated code for NSNumber and NSValue. by@mandel-macaque in#22302
- [Bgen] Simplify the BindAs of arrays. by@mandel-macaque in#22277
- [Bgen] Simplify the NSValue BindAS generated code. by@mandel-macaque in#22257
- [Bgen] Use GetHandle in the trampoline NSArray code. by@mandel-macaque in#22398
- [CFNetwork] Fix all availability attributes in this framework. by@rolfbjarne in#22441
- [CoreBluetooth] Fix all availability attributes in this framework. by@rolfbjarne in#22452
- [CoreFoundation] Remove !NET code. by@rolfbjarne in#22160
- [DataDetection] Bind this framework. by@rolfbjarne in#22309
- [docs] Document a couple of build items for mlaunch support. by@rolfbjarne in#22349
- [dotnet] Disable metrics support by default for non-Release builds by@rolfbjarne in#22389
- [dotnet] Disable Metrics support when Optimize=true. by@rolfbjarne in#22449
- [dotnet] Remove unnecessary workload intalls during testing. by@rolfbjarne in#22264
- [msbuild] Enable nullability in the Codesign task. by@rolfbjarne in#22334
- [Rgen] Add a factory fof object creation expressions. by@mandel-macaque in#22404
- [RGen] Add a flag for the smart enum. by@mandel-macaque in#22270
- [RGen] Add a flag to know if a type represents a Objc protocol. by@mandel-macaque in#22412
- [RGen] Add default constructors doc strings. by@mandel-macaque in#22269
- [RGen] Add docs to the SmartEnum generated methods. by@mandel-macaque in#22268
- [Rgen] Add factory method for the GetINativeObject invocation. by@mandel-macaque in#22401
- [RGen] Add factory method to create a NSArray.ArrayFromFunc call. by@mandel-macaque in#22311
- [Rgen] Add factory method to retrieve the smart enum values from a handle. by@mandel-macaque in#22366
- [RGen] Add missing configuration options for notifications. by@mandel-macaque in#22260
- [Rgen] Add missing docs for the ErrorDomain generated methods. by@mandel-macaque in#22313
- [Rgen] Add support for Error enumerators. by@mandel-macaque in#22280
- [RGen] Add support for the Nomenclator for trampolines. by@mandel-macaque in#22379
- [RGen] Add support to generate the BindFrom getter calls. by@mandel-macaque in#22350
- [Rgen] Add ternary IntPtr.Zero check expression factory. by@mandel-macaque in#22403
- [Rgen] Add the basic wiring for the trampoline generation. by@mandel-macaque in#22372
- [RGen] Add the new added methods to smart enums. by@mandel-macaque in#22250
- [Rgen] Add TypeInfo to the DelegateInfo. by@mandel-macaque in#22396
- [RGen] Create factory method for the NSNumber FromHandle methods. by@mandel-macaque in#22312
- [RGen] Create factory method for the NSValue FromHandle methods. by@mandel-macaque in#22314
- [Rgen] Extract the CFString.CreateNative expression to be reused. by@mandel-macaque in#22402
- [Rgen] Factory method that will generate the call of the GetHandle method. by@mandel-macaque in#22400
- [RGen] Fix bug that was using the wrong struct to parse an attribute. by@mandel-macaque in#22325
- [Rgen] Generalize backing field method. by@mandel-macaque in#22274
- [Rgen] Generalize NSArray.FromNSObject to later use it for other code generation. by@mandel-macaque in#22397
- [RGen] Generate code for properties that have a smart enum and a BindFrom attr. by@mandel-macaque in#22368
- [RGen] Generate code for the return type of a trampoline delegate. by@mandel-macaque in#22409
- [RGen] Generate getter methods for propertes with NSValue BindFrom attrs. by@mandel-macaque in#22353
- [RGen] Implement the generation of the Notifications helper class. by@mandel-macaque in#22265
- [Rgen] Move most of the naming logic to the Nomenclator. by@mandel-macaque in#22411
- [Rgen] Move the DelegateInfo struct as part of the type info. by@mandel-macaque in#22391
- [Rgen] Remove properties that are part of the binding type. by@mandel-macaque in#22259
- [RGen] Return the correct NSNumber static method when we have an array. by@mandel-macaque in#22342
- [Rgen] Run Transformer tests when using make. by@mandel-macaque in#22258
- [Rgen] Small improvements in the factory methods. by@mandel-macaque in#22367
- [Rgen] Split the naming logic form the emitters. by@mandel-macaque in#22354
- [Rgen] Start creating the binding struct for the transformations. by@mandel-macaque in#22326
- [rgen] Update generated resources during the build instead of through any IDE. by@rolfbjarne in#22386
- [Rgen] Update transformers to take the binding struct in the message. by@mandel-macaque in#22327
- [Rgen] Use TypeInfo as part of the BindAsData property. by@mandel-macaque in#22288
- [runtime] Fix numerous marshal...
Assets2
Uh oh!
There was an error while loading.Please reload this page.
.NET 10.0.1xx Preview 2 (10552)
984cbb1
Compare
We're excited to announce our second preview release for .NET 10!
Note: 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:18.2.10552-net10-p2
- tvOS:18.2.10552-net10-p2
- Mac Catalyst:18.2.10552-net10-p2
- macOS:15.2.10552-net10-p2
Full release notes:.NET 10 release notes
Known issues:Known issues in .NET 10
Installation
You can useworkload set version10.0.100-preview.2.25167.2
in order to install these versions of the SDKs, please make sure to be using the second preview of the.NET SDK 10.0.100 before issuing thedotnet workload install
command below. You can validate your installed dotnet version usingdotnet --version
do make sure it shows10.0.100
or greater before proceeding.
dotnet workload install<workload id(s)> --version 10.0.100-preview.2.25167.2
Available workload ids
- ios
- tvos
- macos
- maccatalyst
- android (seehttps://github.com/dotnet/android)
- maui (seehttps://github.com/dotnet/maui)
Example command installing all listed workloads.
dotnet workload install ios tvos macos maccatalyst maui android --version 10.0.100-preview.2.25167.2
You can usedotnet workload --info
to validate the workload versions installed in your system.
What's Changed
- [BGen] Remove support for the System.Drawing objects. by@mandel-macaque in#22247
- [BGen] Simplify BindAs for smart enums. by@mandel-macaque in#22222
- [Bgen] Simplify the BindAs generated code. by@mandel-macaque in#22216
- [CoreGraphics] Add missing availability attributes. Fixes#22107. by@rolfbjarne in#22145
- [CoreMedia] Remove !NET code. by@rolfbjarne in#22159
- [CoreVideo/WebKit] Refactor code a bit to unify indentation. by@rolfbjarne in#22179
- [CoreVideo] Remove !NET code. by@rolfbjarne in#22158
- [dotnet-linker] Generate IL offsets for code emitted directly to IL via Cecil by@rolfbjarne in#22149
- [dotnet] Improve listing older tooling workloads we might depend on. by@rolfbjarne in#22233
- [Foundation] Fix casing of NSCache.SetObjectForKey. Fixes#22103. by@rolfbjarne in#22141
- [Foundation] Remove NET conditions from some files. by@rolfbjarne in#22004
- [Intents] Clean up code. by@rolfbjarne in#22152
- [Metal] Remove incorrect deprecation attributes for MTLTextureDescriptor.SampleCount. Fixes#22108. by@rolfbjarne in#22142
- [msbuild] Demote W7091 to a message instead of warning. by@rolfbjarne in#22000
- [msbuild] Fix duplicate resources when bundling original resources. by@rolfbjarne in#21990
- [msbuild] Validate that we don't write outside the target directory when decompressing zip files. by@rolfbjarne in#21948
- [net10.0] [dotnet] Disable aggressive attribute trimming when using NativeAOT. Fixes#22065. by@rolfbjarne in#22151
- [Rgen] Add a central location for the aux variable naming. by@mandel-macaque in#22063
- [Rgen] Add a factory method that will create the aux variable for handles. by@mandel-macaque in#22067
- [RGen] Add a factory method to create the aux variable for a BindFrom (typeof(NSString)). by@mandel-macaque in#22113
- [Rgen] Add a factory method to create the aux variable for a BindFrom(typeof(NSValue)). by@mandel-macaque in#22112
- [Rgen] Add a method that will return a constructor data model from a method signature. by@mandel-macaque in#22100
- [Rgen] Add a new CreateBlock method for several concatenated blocks. by@mandel-macaque in#22115
- [RGen] Add a new flag to determine if a type is a core image filter. by@mandel-macaque in#22110
- [Rgen] Add a new struc that will represent the needed trivia for a symbol. by@mandel-macaque in#22017
- [Rgen] Add a property invocations struct to be used with the syntax factory. by@mandel-macaque in#22191
- [RGen] Add a roslyn based implementation of the GetValueTypeSize. by@mandel-macaque in#22037
- [RGen] Add an implementation of Stret.IsBuiltInType with Roslyn. by@mandel-macaque in#22036
- [Rgen] Add Async attr parsing to the transformer. by@mandel-macaque in#22068
- [RGen] Add attributes to the accessor struct in the generator. by@mandel-macaque in#22055
- [RGen] Add BindFrom factory method that will return the correct declaration. by@mandel-macaque in#22114
- [Rgen] Add code needed to parse the several snippet attrs. by@mandel-macaque in#22058
- [Rgen] Add code to parse the NativeAttribute. by@mandel-macaque in#22050
- [Rgen] Add expression factory to ignore nullable warnings. by@mandel-macaque in#22201
- [RGen] Add extension method to know if a symbol is wrapped. by@mandel-macaque in#22077
- [Rgen] Add factory method for the autorelease pool. by@mandel-macaque in#22131
- [Rgen] Add factory method for the throw null arg exception. by@mandel-macaque in#22134
- [RGen] Add factory method needed to create a aux variable for a BindFrom(typeof(NSNumber)). by@mandel-macaque in#22111
- [Rgen] Add factory method that creates a NSArray aux variable. by@mandel-macaque in#22066
- [Rgen] Add factory method that provide a using statement for a declaration. by@mandel-macaque in#22156
- [Rgen] Add factory method that will create an aux variable for strings. by@mandel-macaque in#22080
- [Rgen] Add factory method to cast a byte result to a bool. by@mandel-macaque in#22202
- [Rgen] Add factory method to generate the return variable. by@mandel-macaque in#22173
- [Rgen] Add factory methods to retrieve strings from a handle. by@mandel-macaque in#22200
- [Rgen] Add factory to generate the method needed to check the UIThread. by@mandel-macaque in#22132
- [Rgen] Add field getters and setters. by@mandel-macaque in#22006
- [Rgen] Add flags to use plain strings during the marshalling. by@mandel-macaque in#22116
- [Rgen] Add logging to the transformer. by@mandel-macaque in#22016
- [Rgen] Add method in the syntax factory to cast a bool to a byte. by@mandel-macaque in#22061
- [Rgen] Add method to get the pointer for the exception handler. by@mandel-macaque in#22135
- [Rgen] Add more information about the type in the TypeInfo struct. by@mandel-macaque in#22005
- [Rgen] Add needed factory methods to cast an enum to its primitive type. by@mandel-macaque in#22062
- [Rgen] Add parsing of the ThreadSafe attr to the transformer. by@mandel-macaque in#22056
- [Rgen] Add properties as part of the parent's list of accessors. by@mandel-macaque in#21984
- [Rgen] Add properties in the Property data model to decide if a field is needed. by@mandel-macaque in#22078
- [Rgen] Add properties to decide if a temp return variable is needed. by@mandel-macaque in#22139
- [Rgen] Add properties to the data model in the transformer. by@mandel-macaque in#22157
- [Rgen] Add property to let us know if a parameter needs the null checks. by@mandel-macaque in#22133
- [Rgen] Add skeleton code for the field properties in a class. by@mandel-macaque in#21993
- [RGen] Add some extra tests for properties. by@mandel-macaque inhttps://github.com/dotnet/macios/p...
Assets2
Uh oh!
There was an error while loading.Please reload this page.
.NET 10.0.1xx Preview 1 (10322)
e32808d
Compare
We're excited to announce our first preview release for .NET 10!
Note: 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:18.2.10322-net10-p1
- tvOS:18.2.10322-net10-p1
- Mac Catalyst:18.2.10322-net10-p1
- macOS:15.2.10322-net10-p1
Full release notes:.NET 10 release notes
Known issues:Known issues in .NET 10
Installation
You can useworkload set version10.0.100-preview.1.25124.2
in order to install these versions of the SDKs, please make sure to be using the first preview of the.NET SDK 10.0.100 before issuing thedotnet workload install
command below. You can validate your installed dotnet version usingdotnet --version
do make sure it shows10.0.100
or greater before proceeding.
dotnet workload install<workload id(s)> --version 10.0.100-preview.1.25124.2
Available workload ids
- ios
- tvos
- macos
- maccatalyst
- android (seehttps://github.com/dotnet/android)
- maui (seehttps://github.com/dotnet/maui)
Example command installing all listed workloads.
dotnet workload install ios tvos macos maccatalyst maui android --version 10.0.100-preview.1.25124.2
You can usedotnet workload --info
to validate the workload versions installed in your system.
What's Changed
Trimmer warnings enabled by default
In the past we've suppressed trimmer warnings, because the base class library produced trimmer warnings, which meant that it wouldn't be possible for developers to fix all the trimmer warnings.
However, in .NET 9 we believe we fixed all the trimmer warnings from our own code, so now we're ready to for developers to do the same, and thus we're enabling trimmer warnings by default.
This can be disabled, by adding this to the project file:
<PropertyGroup> <SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings></PropertyGroup>
Ref:#21293
Bundling original resources in libraries
Library projects can have various types of bundle resources (storyboards, xibs, property lists, png images, CoreML models, texture atlases, etc.), and they're bundled into the compiled library as embedded resources.
If any processing can be done (such as compiling storyboards or xibs, or optimizing property lists/png images, etc), this has historically been done before embedding, but this complicates library builds a lot, because this processing:
- Needs to run on a Mac, because compiling xibs/storyboards can only be done on a Mac.
- Needs Apple's toolchain around.
- Makes it impossible to do any decision-making based on the original resources when building the app.
So we've added opt-in support for embedding the original resource in libraries in .NET 9, and making it opt-out in .NET 10.
The default behavior can be changed in the project file like this:
<PropertyGroup> <BundleOriginalResources>false</BundleOriginalResources></PropertyGroup>
Ref:#19028
API improvements / fixes / additions
- [AVFoundation] Add missing APIs up to Xcode 16.2. by@rolfbjarne in#21878
- [AVKit] Add missing APIs and fix all xtro issues. by@rolfbjarne in#21836
- [bgen] Accumulate BI1118 errors instead of bailing out on the first one. by@rolfbjarne in#21973
- [bgen] Propagate more xml docs. by@rolfbjarne in#21972
- [CoreHaptics] Add to macOS. by@rolfbjarne in#21963
- [CoreMedia] Add some of the new APIs in recent Xcode versions. by@rolfbjarne in#21830
- [CoreMedia] Make OSStatus = System.Int32 a global using directive. by@rolfbjarne in#21824
- [docs] Fix a few issues with the api docs. by@rolfbjarne in#21932
- [dotnet] Add templates for Notification Content extensions and Notification Service extensions. by@rolfbjarne in#21886
- [dotnet] Create and ship a WorkloadDependencies.json file. Fixes#21768. by@rolfbjarne in#21779
- [dotnet] Disable dedup optimization if we're interpreting every assembly. by@rolfbjarne in#21661
- [dotnet] Stop suppressing trim analysis warnings. Fixes#21293. by@rolfbjarne in#21351
- [Foundation] Document and slightly simplify the NSObject.Dangerous[Retain|Release|Autorelease] methods. by@rolfbjarne in#21844
- [Foundation] Fix/improve a few more NSAttributedString constructors. by@rolfbjarne in#21803
- [introspection] Ignore a few protocol conformances for ScreenCaptureKit types. by@rolfbjarne in#21829
- [MLCompute] Fix all xtro todo's for this framework. by@rolfbjarne in#21968
- [msbuild/dotnet/src] Misc exception marshalling improvements. by@rolfbjarne in#21892
- [msbuild] Add support for bundling original resources in libraries. Fixes#19028. by@rolfbjarne in#20822
- [msbuild] Capture any logging from Xamarin.MacDev in DetectSdkLocation. by@rolfbjarne in#21869
- [msbuild] Don't use 'TRACE' to enable verbose tracing. by@rolfbjarne in#21909
- [msbuild] Show an error if an app tries to link with a static library when building for Hot Restart. by@rolfbjarne in#21877
- [msbuild] Validate entitlements in CompileEntitlements. by@rolfbjarne in#21771
- [net10.0] [dotnet] Rework aggressive attribute trimming. Fixes#20906. by@rolfbjarne in#21314
- [net10.0] [tests] Updated list of expected native libraries for .NET 10. by@rolfbjarne in#21404
- [net10.0] [UIKit] Fix a GC race in UIBarButtonItem. by@rolfbjarne in#21572
- [net10.0] Trim by default (SdkOnly) when building for arm64. Fixes#21444. by@rolfbjarne in#21461
- [ObjCRuntime] Ensure all assemblies' module constructors have executed before failing registrar lookup. by@rolfbjarne in#21885
- [registrar] Fix registration of stub Objective-C classes. Fixes#21546. by@rolfbjarne in#21593
- [ReplayKit] Fix all xtro todo's for this framework. by@rolfbjarne in#21962
- [src] Fix duplicate availability attributes. by@rolfbjarne in#21819
- [src] Fix xml doc comments to actually be xml. by@rolfbjarne in#21930
- [src] Ignore CS1573 in certain cases. by@rolfbjarne in#21941
- [tools] Enable the register-protocols optimization when the interpreter is enabled. Fixes#21782. by@rolfbjarne in#21786
- [tools] Update the resource removal step to take into account '_monotouch_item' resources. by@rolfbjarne in#21939
- [UIKit] Fix inexact stream read in UIImage. by@rolfbjarne in#21916
- [UIKit] Fix some nullability issues. Fixes#21957. by@rolfbjarne in#21961
- [UIKit] Make UIApplication implement UIAccessibility. Fixes#21925. by@rolfbjarne in#21943
Full Changelog:dotnet-9.0.1xx-xcode16.2-9173...dotnet-10.0.1xx-preview1-10320
Assets2
Uh oh!
There was an error while loading.Please reload this page.
.NET 9 - Xcode 16.2 support (9180)
63d5ccc
Compare
🚨Xcode 16.2 is required with this release. Xcode 16.2 requires macOS 14.5+ or 15.0+.
This is a servicing release to theprevious .NET 9 release.
Note: these are the base SDKs that add support for the platforms in question, for MAUI (which is built on top of our SDKs), go here instead:https://docs.microsoft.com/en-us/dotnet/maui/.
Versions
This release consists of the following versions:
Installation
You can useworkload set version9.0.202
in order to install these versions of the SDKs, please make sure to be using the latest.NET SDK 9.0.202 before issuing thedotnet workload install
command below. You can validate your installed dotnet version usingdotnet --version
do make sure it shows9.0.202
or greater before proceeding.
dotnet workload install<workload id(s)> --version 9.0.202
Available workload ids
- ios
- tvos
- macos
- maccatalyst
- android (seehttps://github.com/dotnet/android)
- maui (seehttps://github.com/dotnet/maui)
Example command installing all listed workloads.
dotnet workload install ios tvos macos maccatalyst maui android --version 9.0.202
You can usedotnet workload --info
to validate the workload versions installed in your system.
What's Changed
- [release/9.0.1xx] Update HotRestart.Client to 17.14.51-gd03e25086a by@rolfbjarne in#21994
- [release/9.0.1xx] Update Hot Restart Client to 17.14.83-g77e8f56103 by@mauroa in#22034
- [release/9.0.1xx] [CI] Use macOS Sequoia for building and testing by@dalexsoto in#22072
- [release/9.0.1xx] Update Hot Restart Client to 17.14.133-g001ce2ac7a by@mauroa in#22129
Full Changelog:dotnet-9.0.1xx-xcode16.2-9173...dotnet-9.0.1xx-xcode16.2-9180
Assets2
Uh oh!
There was an error while loading.Please reload this page.