Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update xcopy-msbuild to buildtools 17.8.1 #14122

Merged
merged 1 commit into from
Oct 16, 2023
Merged

Conversation

chcosta
Copy link
Member

@chcosta chcosta commented Oct 13, 2023

Fixes dotnet/dnceng#997

To double check:

Because the failure is in the repo task (signing validation), it's actually pretty difficult to get a repro of this issue. You'd have to publish an updated private version of Arcade somewhere and then consume it in Arcade-validation and the last time I tried to generate a private version of Arcade for consumption, I gave up after 2 hours of fighting some signing problem. I was able to get a successful local repro and validate that this package should fix the issue. I'll keep an eye on Arcade and Arcade-validation post merge to ensure there are no resultant issues that need to be addressed.

Package was generated via https://dnceng-public.visualstudio.com/public/_build/results?buildId=438112&view=results. I'll submit a separate PR for those changes to the process.

@chcosta chcosta merged commit ba607e9 into main Oct 16, 2023
11 checks passed
@@ -64,7 +64,7 @@ try {
$GlobalJson.tools | Add-Member -Name "vs" -Value (ConvertFrom-Json "{ `"version`": `"16.5`" }") -MemberType NoteProperty
}
if( -not ($GlobalJson.tools.PSObject.Properties.Name -match "xcopy-msbuild" )) {
$GlobalJson.tools | Add-Member -Name "xcopy-msbuild" -Value "17.7.2-1" -MemberType NoteProperty
$GlobalJson.tools | Add-Member -Name "xcopy-msbuild" -Value "17.8.1-2" -MemberType NoteProperty
Copy link
Member

Choose a reason for hiding this comment

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

What went wrong with 17.8.1 this time?

@ViktorHofer ViktorHofer deleted the chcosta/xcopy-msbuild-17.8.1-2 branch October 16, 2023 17:48
akoeplinger pushed a commit that referenced this pull request Oct 16, 2023
@akoeplinger
Copy link
Member

Backporting this to release/8.0 in #14110

@ViktorHofer
Copy link
Member

ViktorHofer commented Oct 30, 2023

Question: isn't this code path fundamentally flawed with this change? https://github.com/dotnet/arcade/blob/bb2b4326ddf03d86c92bd125dba87e9d8df63463/eng/common/tools.ps1#L445C20-L445C20

I can't see how xcopy-msbuild could automatically get picked up when specifying a higher version of VS than the minimum required one, i.e. vs: 17.8.0. @Evangelink hit this in vstest when he was trying to remove the hardcoded xcopy-msbuild version and define 17,8.0 as the required VS version.

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.

Generate 17.8 Xcopy msbuild package
4 participants