Skip to content

chore: centralize Aspire.AppHost.Sdk version in global.json and document the pattern#119

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/centralize-aspire-sdk-version
Draft

chore: centralize Aspire.AppHost.Sdk version in global.json and document the pattern#119
Copilot wants to merge 2 commits intomainfrom
copilot/centralize-aspire-sdk-version

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 6, 2026

Hardcoding the Aspire.AppHost.Sdk version directly in .csproj (<Project Sdk="Aspire.AppHost.Sdk/13.x.x">) blocks Dependabot updates and causes NU1605 downgrade errors when NuGet Aspire packages are bumped independently.

Changes

Already in place (pre-existing):

  • global.json msbuild-sdks owns the single authoritative version:
    "msbuild-sdks": { "Aspire.AppHost.Sdk": "13.2.2" }
  • AppHost .csproj uses the versionless SDK reference:
    <Project Sdk="Aspire.AppHost.Sdk">
  • Directory.Packages.props has no Aspire.AppHost.Sdk entry
  • dependabot.yml configures the dotnet-sdk ecosystem (tracks msbuild-sdks in global.json) alongside the nuget aspire-packages group

This PR:

  • Adds a .NET Aspire SDK versioning section to CONTRIBUTING.md explaining the pattern, its rationale, and what to update on manual Aspire upgrades

…ING.md

Agent-Logs-Url: https://github.com/microcks/microcks-aspire/sessions/a73dddd3-aa2d-491e-a4d8-6cc62c2413cc

Co-authored-by: SebastienDegodez <2349146+SebastienDegodez@users.noreply.github.com>
Copilot AI changed the title [WIP] Centralize Aspire.AppHost.Sdk version for Dependabot updates chore: centralize Aspire.AppHost.Sdk version in global.json and document the pattern May 6, 2026
Copilot AI requested a review from SebastienDegodez May 6, 2026 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Centralize Aspire.AppHost.Sdk version to enable Dependabot updates and avoid SDK downgrade errors

2 participants