【发布时间】:2018-01-23 11:37:59
【问题描述】:
当我打开 nuget 命令行工具时,我得到以下异常,但我不知道为什么。
C:\tools>nuget.exe
Unbehandelte Ausnahme: System.NotSupportedException: Das angeforderte Sicherheit
sprotokoll wird nicht unterstützt.
bei System.Net.ServicePointManager.set_SecurityProtocol(SecurityProtocolType
value)
bei NuGet.CommandLine.Program.MainCore(String workingDirectory, String[] args
)
bei NuGet.CommandLine.Program.Main(String[] args)
我没有安装任何 Visual Studio 版本,因为我尝试在没有 Visual Studio 的情况下创建 .NET 构建服务器。我已经尝试安装另一个 .NET Framework,但是当我打开 nuget.exe 时,未处理的异常仍然存在。
你能帮帮我吗?
【问题讨论】:
-
能否将错误文本翻译成英文?
-
谷歌“nuget 配置 tls 协议”用于基本匹配。当您提出此类问题时,您始终需要记录版本号。
标签: .net nuget build-server