HttpRepl icon indicating copy to clipboard operation
HttpRepl copied to clipboard

Unable to install

Open shenghou90 opened this issue 4 years ago • 4 comments

I get the following error when running below command on my command prompt or visual studio terminal. Please help

dotnet tool install -g Microsoft.dotnet-httprepl

error NU1101: Unable to find package microsoft.dotnet-httprepl. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages The tool package could not be restored. Tool 'microsoft.dotnet-httprepl' 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

shenghou90 avatar Jul 29 '21 02:07 shenghou90

i have same problem

naramdash avatar Sep 16 '21 14:09 naramdash

@shenghou90

i solve this by deleting nuget.config

check this link

naramdash avatar Sep 16 '21 14:09 naramdash

Try executing dotnet tool install -g Microsoft.dotnet-httprepl from a different folder (one that doesn't have nuget.config) in it

maxkoshevoi avatar Jan 25 '22 20:01 maxkoshevoi

Try to add a --ignore-failed-sources option

dotnet tool install -g Microsoft.dotnet-httprepl --ignore-failed-sources

WeihanLi avatar Aug 11 '22 01:08 WeihanLi