我在Fedora 26
下使用MonoDevelop GUI 5.10 Build 871
。当我尝试通过Nuget
GUI添加到项目Reactive Extensions
,我得到添加一些Nuget包给出错误
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添加到命令行中,有两个问题,如下所示:
- 我似乎得到的是安装在MonoDevelop的GUI 同一版本
- 最后我得到一个奇怪的错误。
输出
[[email protected] Debug]$ sudo nuget update -self
[sudo] password for idf:
sudo: nuget: command not found
[[email protected] 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)
[[email protected] Debug]$
https://blog.lextudio.com/status-of-monodevelop-xamarin-studio-253da80d022c不要再使用MonoDevelop 5.x。 –
太棒了。我能够安装MD 7.x并通过以下链接添加nuget包:https://github.com/cra0zy/monodevelop-run-installer – Ivan