Jason Ayer
Jason Ayer

Reputation: 833

Unable to install CSharpier globally with dotnet CLI

I am unable to successfully run the command to install CSharpier globally. I am running the command as given in the docs and I get the following error.

The command: dotnet install -g csharpier

The error:

The service index for source https://nuget.telerik.com/v3/index.json.
The tool package could not be restored.
Tool 'csharpier' failed to install. This failure may have been caused by:

* You are attempting to install a preview release and did not use the --version option to specify the version.
* A package by this name was found, but it was not a .NET tool.
* The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.
* You mistyped the name of the tool.

For more reasons, including package naming enforcement, visit https://aka.ms/failure-installing-tool.

Upvotes: 0

Views: 596

Answers (1)

Tom Knevitt
Tom Knevitt

Reputation: 139

I also have the same issue, also have the Telerik feed so realised this must be related. Go to visual studio and uncheck Telerik feed temporarily. Then run the command again and it should work.

Upvotes: 0

Related Questions