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

dotnet: ignore nuget source during tool install #2642

Merged
merged 1 commit into from
Dec 21, 2022

Conversation

rkm
Copy link
Contributor

@rkm rkm commented Dec 12, 2022

(Recreated from #2631)

Removes nuget.org from the default lookup configuration so package resolution is performed against the local build_dir only.

This fixes an issue where dotnet attempts to install unwanted packages or older versions, as nuget.org has higher precedence than the specified sources.

Copy link
Member

@asottile asottile left a comment

Choose a reason for hiding this comment

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

@asottile asottile merged commit bb27ea3 into pre-commit:main Dec 21, 2022
@rkm rkm deleted the fix/dotnet-nuget-config branch December 22, 2022 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants