Logging in Nuget.exe

Topics: General
Jun 12, 2014 at 4:42 PM
We are seeing occasional build failures in our CI system where Nuget.exe exits with code -1073741819. I have found references to this error in various places (including [these] (http://nuget.codeplex.com/workitem/2593) [work items] (http://nuget.codeplex.com/workitem/2064) () ), and there was an implication that it might have been fixed, but there is no description of what the problem was in the first place. I have a feeling that this is a generic error code.

I was shocked to see in work item 2593 that the recommended way to debug this is to get a memory dump. I thought that surely there must be a way to get logging information from Nuget.exe. But after searching the internet for half an hour, and then breaking down and looking at the source code, it appears that there is in fact no way to get logging information.

So I have several questions:
1) Has anyone seen this kind of intermittent Nuget failure before and know the cause or have a solution (other than retrying)?
2) Are there any plans to add robust logging to nuget.exe so that these kinds of failures can be reasonably investigated?
3) If I add robust logging to Nuget.exe myself and submit a patch would it be considered?