Skip to content

.NET 9.0.1xx Preview 2 (9244)

Pre-release
Pre-release
Compare
Choose a tag to compare
@rolfbjarne rolfbjarne released this 12 Mar 17:28
· 382 commits to main since this release
7e44e75

We're excited to announce our second preview release for .NET 9!

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:

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

What's Changed

  • [Accelerate] Make P/Invokes have blittable signatures. by @rolfbjarne in #19991
  • [AppKit] Make P/Invokes have blittable signatures. by @rolfbjarne in #19987
  • [AudioToolbox] Fix computing array size. by @rolfbjarne in #19952
  • [AudioToolbox] Make P/Invokes in AudioConverter.cs have blittable signatures. by @rolfbjarne in #19848
  • [AudioToolbox] Make P/Invokes in AudioFile.cs have blittable signatures. by @rolfbjarne in #19936
  • [AudioToolbox] Make P/Invokes in AudioFileGlobalInfo.cs have blittable signatures. by @rolfbjarne in #19906
  • [AudioToolbox] Make P/Invokes in AudioFormat.cs have blittable signatures. by @rolfbjarne in #19954
  • [AudioToolbox] Make P/Invokes in AudioQueue.cs have blittable signatures. by @rolfbjarne in #19933
  • [AudioToolbox] Make P/Invokes in AudioSession.cs have blittable signatures. by @rolfbjarne in #19834
  • [AudioToolbox] Make P/Invokes in AudioToolbox.cs have blittable signatures. by @rolfbjarne in #19840
  • [AudioToolbox] Make P/Invokes in MusicSequence.cs have blittable signatures. by @rolfbjarne in #19839
  • [AudioToolbox] Sprinkle DynamicallyAccessedMembers attributes to fix ILC trimmer warnings. by @rolfbjarne in #19913
  • [AudioUnit] Make P/Invokes in ExtAudioFile.cs have blittable signatures. by @rolfbjarne in #19995
  • [CFNetwork] Make P/Invokes have blittable signatures. by @rolfbjarne in #20037
  • [Compression] Make P/Invokes have blittable signatures. by @rolfbjarne in #19996
  • [CoreAnimation] Make P/Invokes have blittable signatures. by @rolfbjarne in #19997
  • [CoreFoundation] Make P/Invokes in CFBundle and CFDictionary have blittable signatures. by @rolfbjarne in #20060
  • [CoreLocation] Make P/Invokes have blittable signatures. by @rolfbjarne in #20001
  • [CoreText] Add NotNullWhen to help MAUI with null errors. by @mandel-macaque in #20050
  • [Foundation] Create a strong dictionary for NSAttributedStringDocumentAttributeKey. by @rolfbjarne in #19824
  • [HealthKit] Make P/Invokes have blittable signatures. by @rolfbjarne in #20005
  • [MapKit] Make P/Invokes have blittable signatures. by @rolfbjarne in #20006
  • [MediaPlayer] Make P/Invokes have blittable signatures. by @rolfbjarne in #20012
  • [Metal] Make P/Invokes have blittable signatures. by @rolfbjarne in #20009
  • [MetalPerformanceShaders] Make P/Invokes have blittable signatures. by @rolfbjarne in #20014
  • [mmp] Add PreserveSmartEnumConversionsSubStep to the linker sub steps. Fixes #19712. by @rolfbjarne in #19836
  • [MobileCoreServices] Make P/Invokes have blittable signatures. by @rolfbjarne in #20015
  • [monotouch-test] Ignore the MetalPerformanceShadersGraph.MnistTest test, it fails randomly. by @rolfbjarne in #20033
  • [msbuild] Correctly add custom entitlements to the archived entitlements. by @rolfbjarne in #19920
  • [msbuild] Disable certain .NET behaviors we don't need when doing stuff on a remote Mac. by @rolfbjarne in #19961
  • [msbuild] Don't try to bundle the BouncyCastle.Crypto library anymore. by @rolfbjarne in #20044
  • [msbuild] Enable nullability and improve error reporting in the PackLibraryResources task. by @rolfbjarne in #19998
  • [msbuild] Enable nullability for ArTool and AcTool. by @rolfbjarne in #20010
  • [msbuild] Enable nullability in the CollectBundleResources task. by @rolfbjarne in #19992
  • [msbuild] Fix item name confusion - the texture atlas item group is called AtlasTexture, not TextureAtlas. by @rolfbjarne in #19994
  • [msbuild] Fix WriteAssetPackManifest class name and abstractability after recent changes. by @rolfbjarne in #19978
  • [msbuild] Merge the Archive[TaskBase] classes. by @rolfbjarne in #19949
  • [msbuild] Merge the BTouch[TaskBase] classes. by @rolfbjarne in #19951
  • [msbuild] Merge the CreateBindingResourcePackage[TaskBase] classes. by @rolfbjarne in #19975
  • [msbuild] Merge the DetectSdkLocations[TaskBase] classes. by @rolfbjarne in #19977
  • [msbuild] Merge the ReadItemsFromFile[Task] classes. by @rolfbjarne in #19875
  • [msbuild] Merge the ResolveNativeWatchApp[TaskBase] classes. by @rolfbjarne in #19879
  • [msbuild] Merge the ScnTool[TaskBase] classes. by @rolfbjarne in #19880
  • [msbuild] Merge the SmartCopy[TaskBase] classes. by @rolfbjarne in #19904
  • [msbuild] Merge the SpotlightIndexer[TaskBase] classes. by @rolfbjarne in #19893
  • [msbuild] Merge the SymbolStrip[TaskBase] classes. by @rolfbjarne in #19894
  • [msbuild] Merge the Task[Base] classes overriding Microsoft.Build.Tasks.Core tasks. by @rolfbjarne in #19956
  • [msbuild] Merge the TextureAtlas[TaskBase] classes. by @rolfbjarne in #19895
  • [msbuild] Merge the UnpackLibraryResources[TaskBase] classes. by @rolfbjarne in #19905
  • [msbuild] Merge the ValidateAppBundle[TaskBase] classes. by @rolfbjarne in #19907
  • [msbuild] Merge the WriteAppManifest[TaskBase] classes. by @rolfbjarne in #19921
  • [msbuild] Merge the WriteAssetPackManifest[TaskBase] classes. by @rolfbjarne in #19928
  • [msbuild] Merge the WriteItemsToFile[TaskBase] classes. by @rolfbjarne in #19931
  • [msbuild] Merge the Zip[TaskBase] classes. by @rolfbjarne in #19932
  • [msbuild] Pass /p:RestoreConfigFile to 'dotnet build' in addition to 'dotnet restore'. by @rolfbjarne in #20008
  • [msbuild] Process custom entitlements as if they came from an Entitlements.plist file. by @rolfbjarne in #19942
  • [msbuild] Remove SimpleAssemblyResolver - it's not used. by @rolfbjarne in #20016
  • [msbuild] Remove usage of GitInfo in Xamarin.Messaging.Build. by @rolfbjarne in #19935
  • [msbuild] Rename numerous files to match their task name. by @rolfbjarne in #20013
  • [msbuild] Take the CustomEntitlements item group into account in DetectSigningIdentity. by @rolfbjarne in #19919
  • [msbuild] Use exact version of XVS' packages. by @rolfbjarne in #20043
  • [net9.0] [tests] Add a test to verify that we can build .NET 8 apps. by @rolfbjarne in #19897
  • [net9.0] Bump min iOS and tvOS version to 12.2. by @rolfbjarne in #19953
  • [VideoToolbox] Make P/Invokes have blittable signatures. by @rolfbjarne in #20019
  • Avoid passing null to TaskRunner.FixReferencedItems by @mauroa in #19871
  • NativeAOT: Enable native symbols stripping when targeting macOS with NativeAOT by @ivanpovazan in #19922

Full Changelog: dotnet-9.0.1xx-preview1-9088...dotnet-9.0.1xx-preview2-9244