Repository navigation
chore: Update to .NET 11 RTM - #26302
Conversation
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-26302/docs/index.html |
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
Fixes: #22745 Context: 0c12d33 Update version numbers accordingly. In particular, update -ios and related version numbers, which bumped from 27.0 to 27.2: git grep -l 'net11.0.*27.0' | xargs \ sed -E -i '' -e 's,net11\.0-ios27.0,net11\.0-ios27.2,g' \ -e 's,net11\.0-tvos27.0,net11\.0-tvos27.2,g' To sanity-check locally, try: \cp build/ci/net11/_global.json global.json dotnet build src/Uno.Foundation/Uno.Foundation.netcoremobile.csproj dotnet build -f net11.0 src/Uno.UI/Uno.UI.csproj dotnet publish -f net11.0-android -p:UnoTargetFrameworkOverride=net11.0-android src/SamplesApp/SamplesApp/SamplesApp.csproj -p:UNO_DISABLE_ANALYZERS_IN_SAMPLES=true dotnet publish -f net11.0-android -p:UnoTargetFrameworkOverride=net11.0-android src/SamplesApp/SamplesApp/SamplesApp.csproj -p:ApplicationId=uno.platform.samplesapp.skia.nativeaot -p:SkiaPublishAot=true dotnet build -c Release -f net11.0-ios -p:UnoTargetFrameworkOverride=net11.0-ios src/SamplesApp/SamplesApp/SamplesApp.csproj dotnet build build/filters/Uno.UI-packages-all.slnf Note: when updating `_Dotnet.cs`, the `version` value in `new PackageIdentity(id, version)` must match the *filesystem path* underneath `packs/Microsoft.NETCore.App.Ref`, which *may not* match the output of `dotnet --version`. Check the filesystem! This is also true for `Microsoft.Android.Ref.37`.
`$(RunAOTCompilation)` is not supported on Android in .NET 11. Attempting to set it results in a compiler error: …/tools/Xamarin.Android.Common.targets(562,3): error XA1044: The MSBuild property 'RunAOTCompilation' is not compatible with the CoreCLR runtime. The build cannot continue while this property is set to 'false'. Remove the property. Starting with .NET 11, set 'PublishReadyToRun' to 'false' to disable ReadyToRun (R2R) AOT compilation. Do as it says: stop setting `$(RunAOTCompilation)` entirely unless we *know* it's for .NET 10, and instead set `$(PublishReadyToRun)`=false when we know it's for .NET 11. Update the specs as well, because even though they mention net10.0, net10.0 won't be around forever…
**Tests - iOS > Skia Runtime Tests > Run iOS Simulator Tests** fails on CI: Creating 'iPad Pro 13-inch (M5)' (com.apple.CoreSimulator.SimDeviceType.iPad-Pro-13-inch-M5-12GB / com.apple.CoreSimulator.SimRuntime.iOS-27-2-iPhone19-4) An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=403): Incompatible device The cause of the failure is that we're trying to find an appropriate simulator that runs iOS 27.2, and there are two underlying matches: one for iPhone, and one for iPad. The problem is that we're then trying to use `xcrun simctl create` with `<device type id>` "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-13-inch-M5-12GB" and `<runtime id>` "com.apple.CoreSimulator.SimRuntime.iOS-27-2-iPhone19-4"; these are not consistent with each other. The fix is to use `$UNO_UITEST_SIMULATOR_NAME` as part of the `xcrun simctl list devicetypes` parsing, so that arguemnts provided to `xcrun simctl create` are consistent. Additionally, enable `set -x` so that MOAR INPUT is generated.
4b5aa7f to
08852c9
Compare
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-26302/docs/index.html |
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
|
This pull request is merged. |
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-26302/docs/index.html |
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
|
@Mergifyio backport release/stable/7.0 |
✅ Backports have been createdDetails
|
Related to: #26304
Related to: #22745
Context: 0c12d33
Update version numbers accordingly. In particular, update -ios and related version numbers, which bumped from 27.0 to 27.2:
To sanity-check locally, try:
Note: when updating
_Dotnet.cs, theversionvalue innew PackageIdentity(id, version)must match the filesystem path underneathpacks/Microsoft.NETCore.App.Ref, which may not match the output ofdotnet --version. Check the filesystem! This is also true forMicrosoft.Android.Ref.37.GitHub Issue: related to #26304
PR Type:
What changed? 🚀
PR Checklist ✅
Screenshots Compare Test Runresults.