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

Unable to install dotnet-script #621

Closed
drewburlingame opened this issue May 7, 2021 · 2 comments
Closed

Unable to install dotnet-script #621

drewburlingame opened this issue May 7, 2021 · 2 comments

Comments

@drewburlingame
Copy link

I get this error running dotnet tool install -g dotnet-script

image

It looks like dotnet.myget.com was retired and MS is directing to use Azure Artifacts
https://docs.microsoft.com/en-us/answers/questions/337663/invalid-certificate-for-mygetorg.html

@filipw
Copy link
Member

filipw commented May 7, 2021

Thanks for the issue, but this is not a dotnet-script problem, but a dotnet CLI problem. You would see the same error with any other dotnet tool e.g. dotnet tool install -g dotnet-outdated.

Check your NuGet config files (https://docs.microsoft.com/en-us/nuget/consume-packages/configuring-nuget-behavior#config-file-locations-and-uses) it sounds like your global NuGet config has the Roslyn myget API feed configured.
Since dotnet tool command scans all of them, it throws an error. You should remove the retired feeds from there.

@filipw filipw closed this as completed May 7, 2021
@drewburlingame
Copy link
Author

Wow, you're right. Apologies for the bother and thank you for the generous response.

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

No branches or pull requests

2 participants