Skip to content

Conversation

@surayya-MS
Copy link
Member

Fixes #

Context

Changes Made

Testing

Notes

Mariana Dematte and others added 3 commits April 10, 2025 20:46
DownloadFile should not rely on the remote server response headers. Unless the DestinationFileName task parameter is specified - let's just fallback to the request URI - which is as well the publicly documented behavior.
We're doing a version bump so all branches have up-to-date opt-prof runs.

[OptProf data](https://dev.azure.com/devdiv/_apps/hub/ms-vscs-artifact.build-tasks.drop-hub-group-explorer-hub?name=OptimizationData/DotNet-msbuild-Trusted/internal/vs17.10/20250422.7/11449768/1)

----
#### AI description  (iteration 1)
#### PR Classification
Version bump.

#### PR Summary
This pull request updates the version prefix in the project configuration file to reflect a new release version.
- `eng/Versions.props`: Updated `<VersionPrefix>` from `17.10.28` to `17.10.29`.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
Copilot AI review requested due to automatic review settings May 19, 2025 17:17
@surayya-MS surayya-MS requested a review from a team as a code owner May 19, 2025 17:17
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates version numbers and binding redirects while modifying filename resolution logic in the download task. Key changes include:

  • Switching from response-based to URI-based filename extraction in DownloadFile.cs.
  • Adjusting binding redirects and dependency version numbers in configuration files.
  • Updating version properties and dependency details to reflect the new v17.10.29 release.

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/Tasks/DownloadFile.cs Changed filename extraction logic to rely on request URI instead of response headers.
src/MSBuild/app.config Removed the Microsoft.IO.Redist dependent assembly and updated the System.Text.Json binding redirect.
src/MSBuild/app.amd64.config Updated binding redirects for Microsoft.IO.Redist and System.Text.Json.
eng/Versions.props Bumped VersionPrefix and updated several dependency versions.
eng/Version.Details.xml Updated dependency details for System.Text.Json and Microsoft.DotNet.XUnitExtensions.
eng/SourceBuildPrebuiltBaseline.xml Updated usage patterns for System.Formats.Asn1 and System.Text.Json to new versions.
eng/Packages.props Removed the package version reference for System.Formats.Asn1.

@surayya-MS surayya-MS closed this May 20, 2025
@surayya-MS surayya-MS deleted the msbuild/vs17.10 branch May 20, 2025 10:31
@surayya-MS surayya-MS restored the msbuild/vs17.10 branch May 20, 2025 10:37
@surayya-MS surayya-MS reopened this May 20, 2025
@dotnet-policy-service
Copy link
Contributor

Hello! I noticed that you're targeting one of our servicing branches. Please consider updating the version.

@surayya-MS
Copy link
Member Author

surayya-MS commented May 20, 2025

msbuild-pr (Windows Full) check is failing with error:

##[error]src\Build.OM.UnitTests\Microsoft.Build.Engine.OM.UnitTests.csproj(0,0): error MSB4242: (NETCORE_ENGINEERING_TELEMETRY=Restore) SDK Resolver Failure: "The SDK resolver "Microsoft.DotNet.MSBuildSdkResolver" failed while attempting to resolve the SDK "Microsoft.NET.Sdk". Exception: "System.IO.FileNotFoundException: Could not load file or assembly 'System.Text.Json, Version=8.0.0.4, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.

@surayya-MS
Copy link
Member Author

As discussed offline, disabling bootstrap

Copy link
Member

@rainersigwald rainersigwald left a comment

Choose a reason for hiding this comment

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

LGTM. Please merge, do not squash.

@surayya-MS surayya-MS merged commit fb90280 into dotnet:vs17.10 May 26, 2025
10 checks passed
@surayya-MS surayya-MS deleted the msbuild/vs17.10 branch May 26, 2025 08:46
GangWang01 added a commit to GangWang01/msbuild that referenced this pull request Aug 6, 2025
GangWang01 added a commit to GangWang01/msbuild that referenced this pull request Aug 6, 2025
GangWang01 added a commit to GangWang01/msbuild that referenced this pull request Aug 6, 2025
GangWang01 added a commit to GangWang01/msbuild that referenced this pull request Aug 6, 2025
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.

4 participants