简体   繁体   English

Visual Studio 2012的NuGet包不会在MonoDevelop 5.0.1中恢复

[英]NuGet Packages for Visual Studio 2012 will not Restore in MonoDevelop 5.0.1

I'm relatively new to managing packages using NuGet. 我使用NuGet来管理包是比较新的。 I used Visual Studio 2008-2010 for a couple of years, and used NuGet a little, but I'm far from an expert. 我使用Visual Studio 2008-2010已经有几年了,并且稍微使用了NuGet,但我远非专家。

I have a Visual Studio 2012 program that I did not write and I'm trying to get the program to compile under MonoDevelop 5.0.1. 我有一个Visual Studio 2012程序,我没有写,我正在尝试让程序在MonoDevelop 5.0.1下编译。 When I load the project into MonoDevelop, the Package Console reads: 当我将项目加载到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

I've tried using the package manager to re-add these packages to the project, then remove the ones MonoDevelop cannot find, but I cannot get the project to recognize the packages. 我已经尝试使用包管理器将这些包重新添加到项目中,然后删除MonoDevelop找不到的包,但我无法让项目识别包。 I've seen and read several threads on the topic some mentioning an xbuild feature that I cannot find anywhere, but those threads don't clearly address the problem, and I've found none that provide a comprehensive solution. 我已经看过并阅读了几个关于该主题的线程,有些人提到了我在任何地方都找不到的xbuild功能,但是那些线程没有明确解决问题,我发现没有提供全面的解决方案。

If there's anyone who has a comprehensive solution to this problem, please post it. 如果有人对这个问题有全面的解决方案,请发布。 I'm sure a comprehensive solution would be very helpful to a lot of people trying to convert Visual Studio projects to MonoDevelop. 我相信一个全面的解决方案对很多人试图将Visual Studio项目转换为MonoDevelop非常有帮助。

Try running the following: 尝试运行以下内容:

mozroots --import --sync

That should fix the SendFailure error. 这应该修复SendFailure错误。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Visual Studio 2017-无法还原Nuget程序包 - Visual studio 2017 - Not able to restore Nuget packages Visual Studio:执行“还原NuGet包”时如何添加nuget包作为引用 - Visual Studio: how to add nuget packages as references when doing “Restore NuGet packages” Visual Studio编译错误-计算机中缺少nuget软件包,但是nuget restore表示已安装所有软件包? - Visual Studio compile error - nuget package missing from computer, but nuget restore says all packages installed? Visual Studio + nuget + TFS:检查nuget包? - Visual Studio + nuget + TFS: checking in nuget packages? 无法在具有缓慢(玻利维亚)互联网的 Visual Studio for Mac 和 dotnet 核心中恢复 nuget 包 - Unable to restore nuget packages in Visual Studio for Mac & dotnet core with slow (Bolivian) internet 在 Visual Studio 构建和 nuget 恢复命令期间忽略 packages.config 文件 - packages.config file is ignored during Visual Studio Build and nuget restore commands 带有VSIX Installer和Nuget包的Visual Studio 2012的多项目/解决方案模板 - Multi Project / Solution Templates for Visual Studio 2012 with VSIX Installer and Nuget Packages 在Visual Studio 2015 Enterprise中Nuget还原失败 - Nuget restore fails in Visual Studio 2015 Enterprise Visual Studio 2012中是否有MonoDevelop的文档大纲? - Is there an equivalent of MonoDevelop's Document Outline in Visual Studio 2012? Visual Studio 2012脱机安装nuget - Visual Studio 2012 installing nuget offline
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM