Skip to content

Remove VersionOverride from Releases package reference - #56506

Merged
joeloff merged 2 commits into
release/11.0.1xxfrom
copilot/release1101xx
Oct 6, 2026
Merged

joeloff merged 2 commits into
release/11.0.1xxfrom
copilot/release1101xx

Conversation

Copilot AI commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

The MSBuild SDK resolver explicitly overrode the version of Microsoft.Deployment.DotNet.Releases. Remove that override while retaining the package reference.

  • Change — The reference now uses the project’s standard package version resolution:
<PackageReference Include="Microsoft.Deployment.DotNet.Releases" />

Additional Context

VS consumes the copy of the DLL through PrivateAssemblies. The version in VS is very old and missing performance fixes that were made in dotnet/deployment-tools#545.

There is also a secondary risk of missing other fixes in the future.

Risk

Low

Testing

Manually verification to ensure the version is consistent.

Workaround

VS has to manually override the copy in private assemblies. This still leaves an older copy inside the msbuild resolver.

@azure-pipelines

azure-pipelines Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
2 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Co-authored-by: joeloff <7409981+joeloff@users.noreply.github.com>
Copilot AI changed the title [WIP] Remove VersionOverride metadata for Microsoft.Deployment.DotNet.Releases Remove VersionOverride from Releases package reference Oct 5, 2026
Copilot AI requested a review from joeloff October 5, 2026 22:10
@joeloff
joeloff marked this pull request as ready for review October 5, 2026 22:27
Copilot AI balanced review requested due to automatic review settings October 5, 2026 22:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

Compatibility of the newly selected dependency with minimum-supported Visual Studio/MSBuild hosts remains unverified.

Review effort: Balanced
Findings: None

What changed in this PR

Aligns the MSBuild SDK resolver’s Releases dependency with standard package version resolution, intending to pick up newer fixes.

Changes:

  • Removes the toolset-specific VersionOverride while retaining the package reference.
File Description
src/​Resolvers/​Microsoft.DotNet.MSBuildSdkResolver/​Microsoft.DotNet.MSBuildSdkResolver.csproj Uses standard version resolution for Microsoft.Deployment.DotNet.Releases.

@joeloff

joeloff commented Oct 5, 2026

Copy link
Copy Markdown
Member

Built a local copy of the PR to verify the DLL. Below is from the MSBuildExtensions package that's inserted into VS

image

@joeloff
joeloff merged commit bd731c1 into release/11.0.1xx Oct 6, 2026
23 checks passed
@joeloff
joeloff deleted the copilot/release1101xx branch October 6, 2026 20:46
@joeloff

joeloff commented Oct 6, 2026

Copy link
Copy Markdown
Member

/backport to release/11.0.2xx

@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Started backporting to release/11.0.2xx (link to workflow run)

@joeloff

joeloff commented Oct 6, 2026

Copy link
Copy Markdown
Member

/backport to main

@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Started backporting to main (link to workflow run)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants