Skip to content

[vs17.2] Expliciltly require matching version of VS for signing validation step #8758

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

Merged
merged 3 commits into from
May 15, 2023

Conversation

JanKrivanek
Copy link
Member

Fixes - failing signing validation step of vs17.2 build

Context

vs17.2 Signing Validation is failing (https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=7763789&view=logs&j=b11b921d-8982-5bb3-754b-b114d42fd804&t=cdcedd1f-8008-523f-9da1-cc35fbfef9a3):

(...)
##[error].packages\microsoft.dotnet.arcade.sdk\6.0.0-beta.23221.7\tools\SdkTasks\SigningValidation.proj(0,0): error : Version 6.0.311 of the .NET SDK requires at least version 17.0.0 of MSBuild. The current available version of MSBuild is 16.10.0.26302. Change the .NET SDK specified in global.json to an older version that requires the MSBuild version currently available.
(...)

Inspecting the arcade scripts - the version used is comming from https://github.com/dotnet/msbuild/blob/vs17.2/eng/common/sdk-task.ps1#L67 and can be overwritten via 'xcopy-msbuild' in our global.json.
We're already doing so on main and other release branches.

@ghost
Copy link

ghost commented May 15, 2023

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

Copy link
Member

@ladipro ladipro left a comment

Choose a reason for hiding this comment

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

Look good to me.

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.

I keep forgetting about the Arcade quirk that makes only this step require the zip MSBuild distribution :(

@Forgind Forgind added the merge-when-branch-open PRs that are approved, except that there is a problem that means we are not merging stuff right now. label May 15, 2023
@JanKrivanek JanKrivanek merged commit ad63f95 into vs17.2 May 15, 2023
@JanKrivanek JanKrivanek deleted the JanKrivanek-patch-2 branch May 15, 2023 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge-when-branch-open PRs that are approved, except that there is a problem that means we are not merging stuff right now.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants