You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Raise Aspire.TypeSystem AssemblyVersion freeze to high sentinel 10001.0.0.0
The shipped 1.0.0.0 freeze fixed old-CLI + new-SDK skew but regressed the common
backward-compat direction (new CLI + stable-channel SDK), where the bundled
Aspire.TypeSystem (1.0.0.0) could not satisfy the codegen assemblies' strong-named
reference to the real released version (e.g. 13.4.3.0). The CLR only binds when the
loaded copy's version is >= the requested version, so a single frozen value must sit
ABOVE every shipped real version to satisfy the must-work direction. Freeze at
10001.0.0.0 (a '1.0' seeded high; major slot is the breaking-change bump axis).
- Aspire.TypeSystem.csproj: AssemblyVersion 1.0.0.0 -> 10001.0.0.0; drop
DisablePackageBaselineValidation (10001 >= package baseline, so CP0003 passes);
rewrite rationale comment.
- IntegrationLoadContext: explain the bundled high copy satisfies any lower/equal
reference; residual old-CLI case is #18125's actionable 'update your CLI' path.
- AssemblyLoader.WarnIfSharedAssemblyMismatch: warn only when bundled < libs (the
only failing order); bundled >= libs binds and logs at Debug.
- AtsSharedContractSurfaceTests / SharedContractSurface: reframe the freeze guard
around constant-version binding (content compat, not version) and reflow comments.
Fixes the regression behind #18110 and #17910; complements the #18125 diagnostics,
which still surface the genuine new-member case (already-shipped old CLI + post-freeze
codegen) as an actionable error.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments