Skip to content

Unset repo tools manifest path in CI to fix restore errors#33871

Merged
safern merged 1 commit intomasterfrom
RepoToolsSdkFix
Mar 20, 2020
Merged

Unset repo tools manifest path in CI to fix restore errors#33871
safern merged 1 commit intomasterfrom
RepoToolsSdkFix

Conversation

@ViktorHofer
Copy link
Member

@ViktorHofer ViktorHofer commented Mar 20, 2020

An updated SDK with the net5.0 tfm change seems to break dotnet repo
tool restore, presumably because multiple compatible tfms are found.
Working around this by unsetting the repo tools manifest file path until the
issue is fixed.

Fixes #33837

cc @stephentoub

eng/Tools.props Outdated
Copy link
Member

Choose a reason for hiding this comment

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

The comment says in CI, however, this operation is not conditioned to CI.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks, lol fixed.

An updated SDK with the net5.0 tfm change seems to break dotnet repo
tool restore, presumably because multiple compatible tfms are found.
Working around this by deleting the repo tools manifest file until the
issue is fixed.
@ViktorHofer
Copy link
Member Author

@ViktorHofer
Copy link
Member Author

Could not get the latest source version for repository dotnet/runtime hosted on https://github.com/ using ref 337576f. GitHub reported the error, "Bad credentials"

cc @dotnet/dnceng

@ViktorHofer ViktorHofer changed the title Delete repo tools manifest in CI to fix CI errors Unset repo tools manifest path in CI to fix restore errors Mar 20, 2020
@ViktorHofer
Copy link
Member Author

ViktorHofer commented Mar 20, 2020

@dotnet/runtime-infrastructure Feel free to merge after CI has completed. I believe the current failures are all unrelated. I'm logging off now but can take a look tomorrow if the PR isn't merged by then.

@safern safern merged commit 97d1f96 into master Mar 20, 2020
@safern safern deleted the RepoToolsSdkFix branch March 20, 2020 22:51
@ghost ghost locked as resolved and limited conversation to collaborators Dec 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI builds failing with restore error

3 participants