我在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