I'm relatively new to managing packages using NuGet. I used Visual Studio 2008-2010 for a couple of years, and used NuGet a little, but I'm far from an expert.
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. When I load the project into MonoDevelop, the Package Console reads:
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. 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.
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.
Try running the following:
mozroots --import --sync
That should fix the SendFailure error.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With