Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
NuGet.exe could hang on a large amount of msbuild error output #3572
NuGet.exe shells out to MSBuild. Standard out goes directly to the console, but error output is redirected to a stream. There are no readers for this stream which means that if the stream hits the buffer size msbuild and nuget.exe will hang until the msbuild timeout is reached.
To fix this NuGet.exe should run a stream reader on another thread to continually drain this stream as needed.