Skip to content

Conversation

@GangWang01
Copy link
Member

partially fix #11888

Context

Previously before disabling bootstrap build on Windows Full in CI pipeline failed with mismatched dependency version. It's caused by that for bootstrap the additional assemblies copied from VS 17.14 in the image windows-2022 has higher version than this release branch.

Changes Made

Force to use XCopyMsbuild for bootstrap on Windows Full in CI pipeline to avoid additional assemblies copied from VS installation which may mismatch the version.

Testing

N/A

Notes

Copilot AI review requested due to automatic review settings August 6, 2025 06:17
@GangWang01 GangWang01 requested a review from a team as a code owner August 6, 2025 06:17
@dotnet-policy-service
Copy link
Contributor

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

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 recovers bootstrap builds and re-enables previously disabled tests that were failing due to dependency version mismatches on Windows Full CI pipeline. The fix forces the use of XCopyMsbuild for bootstrap builds to avoid conflicts with additional assemblies from VS installations.

  • Forces XCopyMsbuild usage for Windows Full bootstrap builds via environment variable
  • Re-enables previously skipped unit tests that were disabled due to issue #11888
  • Updates version prefix and enhances bootstrap build scripts with proper stage handling

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
.vsts-dotnet-ci.yml Adds ForceUseXCopyMSBuild environment variable to force XCopyMsbuild usage
eng/Versions.props Increments version prefix from 17.10.35 to 17.10.36
eng/cibuild_bootstrapped_msbuild.ps1 Enhances PowerShell bootstrap script with proper stage handling and build tool configuration
eng/cibuild_bootstrapped_msbuild.sh Adds stage 2 build logic with proper test execution based on documentation changes
src/Build.UnitTests/EscapingInProjects_Tests.cs Re-enables 8 previously skipped test methods
src/Build.UnitTests/BackEnd/MSBuild_Tests.cs Re-enables 1 previously skipped test method
src/Tasks.UnitTests/MSBuild_Tests.cs Re-enables 1 previously skipped test method
src/Tasks.UnitTests/ResourceHandling/GenerateResource_Tests.cs Re-enables 2 previously skipped test methods
src/Tasks.UnitTests/ResourceHandling/GenerateResourceOutOfProc_Tests.cs Re-enables 2 previously skipped test methods

@GangWang01 GangWang01 changed the title Recover bootstrap and corresponding disabled tests [vs17.10] Recover bootstrap and corresponding disabled tests Aug 6, 2025
@GangWang01 GangWang01 force-pushed the recover-bootstrap-17.10 branch from ef83cf9 to 4197f26 Compare August 6, 2025 06:56
@YuliiaKovalova YuliiaKovalova merged commit b8adc52 into dotnet:vs17.10 Aug 7, 2025
10 checks passed
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.

3 participants