Description
PR #5529 added .NET 11 preview 7 support. Several changes there are workarounds for the preview specifically and should come out when .NET 11 reaches GA. They are individually commented in code, but nothing ties them together, so this issue is the checklist.
To remove or revisit at GA
Probably permanent, but worth re-checking
Refs
Description
PR #5529 added .NET 11 preview 7 support. Several changes there are workarounds for the preview specifically and should come out when .NET 11 reaches GA. They are individually commented in code, but nothing ties them together, so this issue is the checklist.
To remove or revisit at GA
ContainerBaseImagepins in.github/workflows/build.yml— two places: theIntegration teststep and theTest AOTstep. The SDK derives aruntime-depstag from the runtime version, giving11.0.0-preview.7-noble-chiseled, which doesn't exist: .NET 11 images moved from noble to resolute, and previews only ship under the floating11.0-previewtags. Once GA tags exist the derived tag should resolve on its own.'$(TargetFrameworkVersion)' == 'v11.0'item groups —Microsoft.Extensions.*,Microsoft.AspNetCore.*andMicrosoft.EntityFrameworkCore*are pinned to11.0.0-preview.7.26381.103inSentry.Extensions.Logging,Sentry.AspNetCore.Blazor.WebAssembly,Sentry.AspNetCore.Grpc.Tests,Sentry.AspNetCore.TestUtilsandSentry.DiagnosticSource.Tests. Move to stable.global.json— pinned to the preview SDK and its workload set (11.0.100-preview.7.26410.2).VersionSuffix=prereleaseinDirectory.Build.props, alongsideVersionPrefix=7.0.0.ReferenceAssemblies.Net110declared locally inSentry.Compiler.Extensions.Tests— tracked separately, see the linked issue.Probably permanent, but worth re-checking
AppxGeneratePriEnabled=falsefor Windows TFMs on non-Windows hosts (Directory.Build.targets). MAUI 11 pulls inMicrosoft.Windows.SDK.BuildTools.MSIX, whose PRI generation runs the Windows-onlymakepri.exe, so cross-building anet11.0-windowsTFM from macOS/Linux fails. This is unlikely to change at GA, but it is a .NET 11-era addition rather than long-standing behaviour.10.0.xin theInstall .NET SDKstep of.github/actions/environment/action.yml— needed only whileglobal.jsonpins the .NET 11 SDK and net10.0 is still a target framework.Refs