试图安装微软的httprel工具失败。
安装命令:
dotnet tool install -g Microsoft.dotnet-httprepl
错误:
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.
我通过从httprel nuget站点添加一个版本来修复这个问题:
dotnet tool install -g Microsoft.dotnet-httprepl --version 5.0.2
安装以下包:
dotnet tool install --global Amazon.Lambda.Tools --version 3.1.0
如果你使用的是最新的。net,
dotnet tool install --global Amazon.Lambda.Tools