Attempting to install Microsoft's HttpRepl tool fails.
Command used to install:
dotnet tool install -g Microsoft.dotnet-httprepl
Error:
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.
CodePudding user response:
I fixed this by adding a version from the HttpRepl nuget site:
dotnet tool install -g Microsoft.dotnet-httprepl --version 5.0.2
CodePudding user response:
dotnet tool install --global Amazon.Lambda.Tools --version 3.1.0
If you are on latest .NET,
dotnet tool install --global Amazon.Lambda.Tools