添加一些Nuget包会导致错误

添加一些Nuget包会导致错误,nuget,monodevelop,Nuget,Monodevelop,我正在使用fedora26下的monodelovelgui5.10build871。当我试图通过NugetGUI向项目添加Reactive Extensions时,我得到 Adding System.Reactive.Core... The 'System.Reactive.Core 3.1.1' package requires NuGet client version '2.12' or above, but the current NuGet version is '2.8.7.0'.

我正在使用
fedora26
下的
monodelovelgui5.10build871
。当我试图通过
Nuget
GUI向项目添加
Reactive Extensions
时,我得到

Adding System.Reactive.Core...
The 'System.Reactive.Core 3.1.1' package requires NuGet client version '2.12' or above, but the current NuGet version is '2.8.7.0'.
我如何解决这个问题

编辑:

如果我尝试将nuget添加到命令行,则会出现如下所示的两个问题:

  • 我似乎得到了安装在MonoDevelopGUI中的相同版本
  • 最后我犯了一个奇怪的错误
  • 输出

    [idf@localhost Debug]$ sudo nuget update -self
    [sudo] password for idf: 
    sudo: nuget: command not found
    [idf@localhost Debug]$ nuget update -self
    bash: nuget: command not found...
    Install package 'nuget' to provide command 'nuget'? [N/y] y
    
    
     * Waiting in queue... 
     * Loading list of packages.... 
    The following packages have to be installed:
     nuget-2.8.7-3.fc26.x86_64  Package manager for .Net/Mono development platform
    Proceed with changes? [N/y] y
    
    
     * Waiting in queue... 
     * Waiting for authentication... 
     * Waiting in queue... 
     * Downloading packages... 
     * Requesting data... 
     * Testing changes... 
     * Installing packages... 
    Checking for updates from https://www.nuget.org/api/v2/.
    Error: TrustFailure (Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED)
    
    [idf@localhost Debug]$ 
    

    更新你的nuget版本

    nuget update -self
    
    将软件包更新到最新的可用版本此命令还更新NuGet.exe本身。


    注意:您可能必须使用
    sudo
    ,这取决于它最初的安装方式。

    不要再使用MonoDevelop 5.x了。这太棒了。我可以通过以下链接安装MD 7.x并添加nuget软件包:请参阅OP中添加的“编辑”部分。@Ivan您安装了什么版本的Mono?假设“旧”作为新版本通过谷歌的boringSSL支持TLS1.2。您可以手动下载并替换您的
    nuget.exe
    ()