Remove .NET 12 bootstrap assembly pin and re-enable framework tests
Author: wtgodbeCreated Sep 29, 2026Updated Sep 29, 2026
Labelsarea-infrastructure
Follow-up for https://github.com/dotnet/aspnetcore/pull/69553.
The .NET 12 rollover temporarily pins ASP.NET Core shared-framework assembly identities to 11.0.0.0 so consumers using the bootstrap SDK's ASP.NET Core 11 reference assemblies can compile. Three framework tests are being skipped while this transition is incomplete.
Once dotnet/runtime has moved to net12.0 and the matching runtime/reference assets have flowed into ASP.NET Core:
- Remove the
PinAspNetCoreAssemblyVersionToPreviousMajoroverride inDirectory.Build.targets, restoring$(AspNetCoreMajorMinorVersion).0.0. - Re-enable
SharedFxTests.SharedFrameworkAssembliesHaveExpectedAssemblyVersions. - Re-enable
TargetingPackTests.RefAssembliesHaveExpectedAssemblyVersions. - Re-enable
TargetingPackTests.AssembliesAreReferenceAssemblies. - Verify the targeting pack contains reference assemblies, rather than implementation assemblies, for
System.Security.Cryptography.Xml,System.Security.Cryptography.Pkcs,System.Formats.Cbor,System.Diagnostics.EventLog, andSystem.Threading.RateLimiting. - Confirm the restored tests pass and the Gateway, Components.AI, and Components.Testing consumers build without mixed 11/12 assembly references.
Failure evidence: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1616383
Source: dotnet/aspnetcore