.NET 7.0.100 RC 2 (1186)
Pre-releaseWe're excited to announce our second preview release for .NET 7 for macOS and MacCatalyst!
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/.
This release consists of the following versions:
- macOS: 12.3.1186-rc.2
- Mac Catalyst: 15.4.1186-rc.2
Full release notes: https://github.com/xamarin/xamarin-macios/wiki/.NET-7-release-notes
Known issues: https://github.com/xamarin/xamarin-macios/wiki/Known-issues-in-.NET7
Warning
Xcode 14 does not contain updated SDKs for macOS and Mac Catalyst, only iOS and tvOS. This is why this release does not support Xcode 14.
For more information about Xcode 14 support, see: #15954.
What's Changed
- [generator] Do not zero-extend implied catalyst attributes by @chamons in #15648
- Remove duplicated SceneKitAsset declarations by @J-Swift in #15665
- [dotnet] Make it possible to specify the registrar using a 'Registrar' property in MSBuild. by @rolfbjarne in #15483
- Nullability annotations on NSUrl by @Therzok in #15356
- Fix #9996 and #15622 by @janwiebe-jump in #15642
- Fixed remote archiving with iOS app extensions by @mauroa in #15726
- [msbuild] Unify the DetectSigningIdentity task between iOS and Mac. by @rolfbjarne in #15698
- [dotnet] Honor existing values for BuildIpa and CreatePackage. Fixes #15696. by @rolfbjarne in #15697
- [msbuild] Automatically detect any Entitlements.plist files in the root project in .NET. by @rolfbjarne in #15729
- [msbuild] Fix the FindAotCompiler task for .NET 7. by @rolfbjarne in #15759
- [runtime] Add some debugging aid to xamarin_release_managed_ref. by @rolfbjarne in #15767
- [dotnet] macOS/MacCatalyst Archive and publishing support by @emaf in #15720
- [UIKit] Wrap the call to UIApplicationMain in a @try/@catch handler. by @rolfbjarne in #15746
- [.NET/CoreMidi] Use [UnmanagedCallersOnly] instead of [MonoPInvokeCallback] Partial Fix for #10470 by @stephen-hawley in #15774
- [msbuild] Remove the Xamarin.*.Task.Core assemblies. by @rolfbjarne in #15768
- Add 'None' build action to ObjC binding items by @mauroa in #15797
- [dotnet] Make relase builds for desktop universal by default. Fixes #15620. by @rolfbjarne in #15769
- [UIKit] Add Preferred Content Size Wrapper by @haritha-mohan in #15800
- [UIKit] Add attr missing from the review in #15800 by @mandel-macaque in #15835
- [runtime] Use a custom native -> managed trampoline for calling NSObject.InvokeConformsToProtocol from the generated static registrar code. by @rolfbjarne in #15830
- [UIkit] Add generic callbacks for UIGestureRecognizer by @haritha-mohan in #15846
- [Runtime] Fix comparing a pointer to a UTF8 string with a managed string with embedded nulls. by @rolfbjarne in #15854
- [.NET/AudioUnit] Use [UnmanagedCallersOnly] instead of [MonoPInvokeCallback] Partial Fix for #10470 by @stephen-hawley in #15808
- [msbuild] Add additional app extensions to the list of items we need to sign. Fixes #15598. by @rolfbjarne in #15829
- [msbuild] Make sure '_AppBundlePath' is always relative. Fixes #15130. by @rolfbjarne in #15868
- [dotnet] Fix issue with frameworks with dots. Fixes #15727. by @rolfbjarne in #15872
- [msbuild] Compute _AppContainerDir from AppBundleDir if AppBundleDir is set by the developer. Fixes #15014. by @rolfbjarne in #15869
- [dotnet] Implement support for building net6.0-* apps with .NET 7. Fixes #15672. by @vs-mobiletools-engineering-service2 in #15785
- [CoreCLR] Handle ref/out enum values as parameters. Fixes #15744. by @rolfbjarne in #15870
- [.NET/CoreFoundation] Use [UnmanagedCallersOnly] instead of [MonoPInvokeCallback] Partial Fix for #10470 by @stephen-hawley in #15879
- [msbuild] Take the .NET version into account when computing the illink.dll location. by @rolfbjarne in #15876
- [UIKit] Add nullability to file by @haritha-mohan in #15857
- [runtime] Store assemblies' MVID in the generated static registrar code. by @rolfbjarne in #15795
- [.NET/CoreVideo] Use [UnmanagedCallersOnly] instead of [MonoPInvokeCallback] Partial Fix for #10470 by @stephen-hawley in #15892
- [msbuild] Add support for keeping temporary output when looking for AOT compilers. by @rolfbjarne in #15884
- [dotnet] Add binding templates for tvOS and macOS. Fixes #15839. by @rolfbjarne in #15921
- [.NET/CoreGraphics] Use [UnmanagedCallersOnly] instead of [MonoPInvokeCallback] Partial Fix for #10470 by @stephen-hawley in #15906
- [msbuild] Only require a provisioning profile if we have non-empty entitlements. by @rolfbjarne in #15918
- [release/7.0.1xx-rc2] [msbuild] Hot Restart fixes by @vs-mobiletools-engineering-service2 in #16004
- [build] Improve generated manifest MSI versions by @pjcollins in #16091
- [release/7.0.1xx-rc2] Fix selectors from submission tests by @chamons in #16045
- [release/7.0.1xx-rc2] [msbuild] Add a public 'CompileImageAssetsDependsOn' property. Fixes #16065. by @vs-mobiletools-engineering-service2 in #16112
- [release/7.0.1xx-rc2] [net7.0] [workload] Update net6.0 KnownFrameworkReference by @vs-mobiletools-engineering-service2 in #16136
- [release/7.0.1xx-rc2] [dotnet] Don't try to collect RID-specific items to codesign unless we're connected to (or building on) a Mac. by @vs-mobiletools-engineering-service2 in #16154
- [release/7.0.1xx-rc2] [dotnet] Don't try to ILStrip assemblies unless we're connected to a Mac. by @vs-mobiletools-engineering-service2 in #16161
- [release/7.0.1xx-rc2] [msbuild] Make DetectSigningIdentity.CodesignEntitlements an ITaskItem property. by @vs-mobiletools-engineering-service2 in #16177
- [7.0.1xx-rc2] Make the vsman's target name unique for this branch. by @rolfbjarne in #16222
- [release/7.0.1xx-rc2] [UIKit] Change UITextInput.SelectedTextRange to not be ArgumentSemantic.Copy. Fixes #15677. by @vs-mobiletools-engineering-service2 in #16276
- [release/7.0.1xx-rc2] Ensure we restore the temp csproj to compute AOT compiler path by @vs-mobiletools-engineering-service2 in #16283
New Contributors
- @J-Swift made their first contribution in #15665
- @janwiebe-jump made their first contribution in #15642
Full Changelog: dotnet-7.0.1xx-rc.1-1031...dotnet-7.0.1xx-rc.2-1186