【发布时间】:2014-11-14 03:14:16
【问题描述】:
我对使用 NuGet 管理包比较陌生。我使用 Visual Studio 2008-2010 有几年了,也使用了一点 NuGet,但我远非专家。
我有一个不是我编写的 Visual Studio 2012 程序,我正在尝试让该程序在 MonoDevelop 5.0.1 下编译。当我将项目加载到 MonoDevelop 中时,Package Console 显示:
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 的人会非常有帮助。
【问题讨论】:
标签: visual-studio visual-studio-2012 nuget monodevelop