2014-09-19 35 views
4

我是使用NuGet管理軟件包的新手。我使用了Visual Studio 2008-2010幾年,並使用NuGet一點,但我遠離專家。Visual Studio 2012的NuGet軟件包將無法在MonoDevelop 5.0.1中恢復

我有一個Visual Studio 2012程序,我沒有寫,我試圖讓程序在MonoDevelop 5.0.1下編譯。當我將項目加載到MonoDevelop的,包控制檯上寫着:

WARNING: Error: SendFailure (Error writing headers) 
WARNING: Error: SendFailure (Error writing headers) 
WARNING: Error: SendFailure (Error writing headers) 
WARNING: Error: SendFailure (Error writing headers) 
WARNING: Error: SendFailure (Error writing headers) 
WARNING: Error: SendFailure (Error writing headers) 
WARNING: Error: SendFailure (Error writing headers) 
WARNING: Error: SendFailure (Error writing headers) 
WARNING: Error: SendFailure (Error writing headers) 
WARNING: Error: SendFailure (Error writing headers) 
WARNING: Error: SendFailure (Error writing headers) 
Unable to find version '1.4.0.56' of package 'MSBuildTasks'. 
Unable to find version '2.0.0.2000' of package 'NLog'. 
Unable to find version '1.2.0' of package 'NodaTime'. 
Unable to find version '2.0.11' of package 'Npgsql'. 
Unable to find version '2.0.0.480' of package 'protobuf-net'. 
Unable to find version '2.8.4' of package 'RabbitMQ.Client'. 
Unable to find version '0.15.0.0' of package 'MailKit'. 
Unable to find version '0.36.0.0' of package 'MimeKit'. 
Unable to find version '4.0.10827' of package 'Moq'. 
Unable to find version '1.2.2' of package 'elmah.corelibrary'. 
Unable to find version '5.0.6' of package 'Newtonsoft.Json'. 

The application was terminated by a signal: SIGHUP 

我使用軟件包管理這些軟件包重新添加到項目中,然後刪除那些MonoDevelop中找不到試過,但我不能讓該項目承認包裹。我已經看過並閱讀了關於這個主題的幾個主題,其中有一些提到了我在任何地方都找不到的xbuild功能,但是這些主題並沒有清楚地解決這個問題,而且我也沒有發現任何提供全面解決方案的主題。

如果有人對此問題有全面的解決方案,請發佈。我敢肯定,一個全面的解決方案對於很多試圖將Visual Studio項目轉換爲MonoDevelop的人非常有幫助。

回答

8

嘗試運行以下:

mozroots --import --sync 

這應該可以解決SendFailure錯誤。

+0

我運行它,結果如下:Mozilla Roots Importer - 版本3.8.0.0 從Mozilla的MXR下載並導入受信任的根證書。版權所有2002,2003 Motus Technologies公司。版權所有2004-2008 Novell。 BSD許可。 從'http://mxr.mozilla.org/seamonkey/source/security/nss/lib/ckfw/builtins/certdata.txt?raw = 1'下載... 將證書導入用戶存儲... 您的信任存儲添加了140個新的根證書。 導入過程完成。不幸的是,我仍然收到SendFailures。 – 2014-09-19 14:37:19

+0

你重新啓動MonoDevelop? – 2014-09-19 14:50:47

+0

幾次來確定這不是問題。不用找了。 – 2014-09-19 22:18:06

相關問題