Skip to content

Instantly share code, notes, and snippets.

@DragonOsman
Last active November 22, 2019 16:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DragonOsman/53a0470cd1a046d2e70cea21663c5ad4 to your computer and use it in GitHub Desktop.
Save DragonOsman/53a0470cd1a046d2e70cea21663c5ad4 to your computer and use it in GitHub Desktop.
1>MSBUILD : error MSB4166: Child node "2" exited prematurely. Shutting down. Diagnostic information may be found in files in "C:\Users\Osman\AppData\Local\Temp\" and will be named MSBuild_*.failure.txt. This location can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.
1>MSBUILD : error MSB4166: C:\Users\Osman\AppData\Local\Temp\MSBuild_pid-13216_4a3582d569444aa883ee0d8ecda4221b.failure.txt:
1>MSBUILD : error MSB4166: UNHANDLED EXCEPTIONS FROM PROCESS 13216:
1>MSBUILD : error MSB4166: =====================
1>MSBUILD : error MSB4166: 11/22/2019 9:10:40 PM
1>MSBUILD : error MSB4166: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
1>MSBUILD : error MSB4166: at Microsoft.Build.Construction.XmlDocumentWithLocation.CreateAttribute(String prefix, String localName, String namespaceURI)
1>MSBUILD : error MSB4166: at System.Xml.XmlLoader.LoadAttributeNode()
1>MSBUILD : error MSB4166: at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
1>MSBUILD : error MSB4166: at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
1>MSBUILD : error MSB4166: at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
1>MSBUILD : error MSB4166: at System.Xml.XmlDocument.Load(XmlReader reader)
1>MSBUILD : error MSB4166: at Microsoft.Build.Construction.XmlDocumentWithLocation.Load(XmlReader reader)
1>MSBUILD : error MSB4166: at Microsoft.Build.Construction.ProjectRootElement.LoadDocument(String fullPath, Boolean preserveFormatting, Boolean loadAsReadOnly)
1>MSBUILD : error MSB4166: at Microsoft.Build.Construction.ProjectRootElement..ctor(String path, ProjectRootElementCacheBase projectRootElementCache, Boolean preserveFormatting)
1>MSBUILD : error MSB4166: at Microsoft.Build.Construction.ProjectRootElement.CreateProjectFromPath(String projectFile, ProjectRootElementCacheBase projectRootElementCache, Boolean preserveFormatting)
1>MSBUILD : error MSB4166: at Microsoft.Build.Construction.ProjectRootElement.<>c.<OpenProjectOrSolution>b__204_0(String path, ProjectRootElementCacheBase cache)
1>MSBUILD : error MSB4166: at Microsoft.Build.Evaluation.ProjectRootElementCache.Get(String projectFile, OpenProjectRootElement openProjectRootElement, Boolean isExplicitlyLoaded, Nullable`1 preserveFormatting)
1>MSBUILD : error MSB4166: at Microsoft.Build.Construction.ProjectRootElement.OpenProjectOrSolution(String fullPath, IDictionary`2 globalProperties, String toolsVersion, ProjectRootElementCacheBase projectRootElementCache, Boolean isExplicitlyLoaded)
1>MSBUILD : error MSB4166: at Microsoft.Build.Evaluation.Evaluator`4.<>c__DisplayClass62_1.<ExpandAndLoadImportsFromUnescapedImportExpression>b__0(String p, ProjectRootElementCacheBase c)
1>MSBUILD : error MSB4166: at Microsoft.Build.Evaluation.ProjectRootElementCache.Get(String projectFile, OpenProjectRootElement openProjectRootElement, Boolean isExplicitlyLoaded, Nullable`1 preserveFormatting)
1>MSBUILD : error MSB4166: at Microsoft.Build.Evaluation.Evaluator`4.ExpandAndLoadImportsFromUnescapedImportExpression(String directoryOfImportingFile, ProjectImportElement importElement, String unescapedExpression, Boolean throwOnFileNotExistsError, List`1& imports)
1>MSBUILD : error MSB4166: at Microsoft.Build.Evaluation.Evaluator`4.ExpandAndLoadImportsFromUnescapedImportExpressionConditioned(String directoryOfImportingFile, ProjectImportElement importElement, List`1& projects, SdkResult& sdkResult, Boolean throwOnFileNotExistsError)
1>MSBUILD : error MSB4166: at Microsoft.Build.Evaluation.Evaluator`4.ExpandAndLoadImports(String directoryOfImportingFile, ProjectImportElement importElement, SdkResult& sdkResult)
1>MSBUILD : error MSB4166: at Microsoft.Build.Evaluation.Evaluator`4.EvaluateImportElement(String directoryOfImportingFile, ProjectImportElement importElement)
1>MSBUILD : error MSB4166: at Microsoft.Build.Evaluation.Evaluator`4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport)
1>MSBUILD : error MSB4166: at Microsoft.Build.Evaluation.Evaluator`4.EvaluateImportElement(String directoryOfImportingFile, ProjectImportElement importElement)
1>MSBUILD : error MSB4166: at Microsoft.Build.Evaluation.Evaluator`4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport)
1>MSBUILD : error MSB4166: at Microsoft.Build.Evaluation.Evaluator`4.EvaluateImportElement(String directoryOfImportingFile, ProjectImportElement importElement)
1>MSBUILD : error MSB4166: at Microsoft.Build.Evaluation.Evaluator`4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport)
1>MSBUILD : error MSB4166: at Microsoft.Build.Evaluation.Evaluator`4.EvaluateImportElement(String directoryOfImportingFile, ProjectImportElement importElement)
1>MSBUILD : error MSB4166: at Microsoft.Build.Evaluation.Evaluator`4.EvaluateImportGroupElement(String directoryOfImportingFile, ProjectImportGroupElement importGroupElement)
1>MSBUILD : error MSB4166: at Microsoft.Build.Evaluation.Evaluator`4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport)
1>MSBUILD : error MSB4166: at Microsoft.Build.Evaluation.Evaluator`4.EvaluateImportElement(String directoryOfImportingFile, ProjectImportElement importElement)
1>MSBUILD : error MSB4166: at Microsoft.Build.Evaluation.Evaluator`4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport)
1>MSBUILD : error MSB4166: at Microsoft.Build.Evaluation.Evaluator`4.EvaluateImportElement(String directoryOfImportingFile, ProjectImportElement importElement)
1>MSBUILD : error MSB4166: at Microsoft.Build.Evaluation.Evaluator`4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport)
1>MSBUILD : error MSB4166: at Microsoft.Build.Evaluation.Evaluator`4.Evaluate(ILoggingService loggingService, BuildEventContext buildEventContext)
1>MSBUILD : error MSB4166: at Microsoft.Build.Evaluation.Evaluator`4.Evaluate(IEvaluatorData`4 data, ProjectRootElement root, ProjectLoadSettings loadSettings, Int32 maxNodeCount, PropertyDictionary`1 environmentProperties, ILoggingService loggingService, IItemFactory`2 itemFactory, IToolsetProvider toolsetProvider, ProjectRootElementCacheBase projectRootElementCache, BuildEventContext buildEventContext, ISdkResolverService sdkResolverService, Int32 submissionId, EvaluationContext evaluationContext, Boolean interactive)
1>MSBUILD : error MSB4166: at Microsoft.Build.Execution.ProjectInstance.Initialize(ProjectRootElement xml, IDictionary`2 globalProperties, String explicitToolsVersion, String explicitSubToolsetVersion, Int32 visualStudioVersionFromSolution, BuildParameters buildParameters, ILoggingService loggingService, BuildEventContext buildEventContext, ISdkResolverService sdkResolverService, Int32 submissionId, Nullable`1 projectLoadSettings)
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.RequestBuilder.LoadProjectFromFile()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.BuildRequestConfiguration.InitializeProject(BuildParameters buildParameters, Func`1 loadProjectFromFile)
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.RequestBuilder.LoadProjectIntoConfiguration()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.RequestBuilder.<BuildProject>d__58.MoveNext()
1>MSBUILD : error MSB4166: --- End of stack trace from previous location where exception was thrown ---
1>MSBUILD : error MSB4166: at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
1>MSBUILD : error MSB4166: at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.RequestBuilder.<BuildAndReport>d__50.MoveNext()
1>MSBUILD : error MSB4166: --- End of stack trace from previous location where exception was thrown ---
1>MSBUILD : error MSB4166: at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
1>MSBUILD : error MSB4166: at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.RequestBuilder.<RequestThreadProc>d__49.MoveNext()
1>MSBUILD : error MSB4166: ===================
1>MSBUILD : error MSB4166: 11/22/2019 9:10:49 PM
1>MSBUILD : error MSB4166: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
1>MSBUILD : error MSB4166: at System.Collections.Generic.List`1..ctor(Int32 capacity)
1>MSBUILD : error MSB4166: at System.Collections.Concurrent.ConcurrentDictionary`2.GetKeys()
1>MSBUILD : error MSB4166: at Microsoft.Build.Execution.BuildResult.CacheIfPossible()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.ResultsCache.WriteResultsToDisk()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.BuildRequestEngine.CheckMemoryUsage()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.BuildRequestEngine.EvaluateRequestStates()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.BuildRequestEngine.<BuildRequestEntry_StateChanged>b__45_0()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.BuildRequestEngine.<>c__DisplayClass67_0.<QueueAction>b__0()
1>MSBUILD : error MSB4166: ===================
1>MSBUILD : error MSB4166: 11/22/2019 9:10:50 PM
1>MSBUILD : error MSB4166: 11/22/2019 9:11:02 PM
1>MSBUILD : error MSB4166: System.AggregateException: One or more errors occurred. ---> Microsoft.Build.Shared.InternalErrorException: MSB0001: Internal MSBuild Error: Exception of type 'System.OutOfMemoryException' was thrown.
1>MSBUILD : error MSB4166: =============
1>MSBUILD : error MSB4166: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
1>MSBUILD : error MSB4166: at System.Collections.Generic.List`1..ctor(Int32 capacity)
1>MSBUILD : error MSB4166: at System.Collections.Concurrent.ConcurrentDictionary`2.GetKeys()
1>MSBUILD : error MSB4166: at Microsoft.Build.Execution.BuildResult.CacheIfPossible()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.ResultsCache.WriteResultsToDisk()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.BuildRequestEngine.CheckMemoryUsage()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.BuildRequestEngine.EvaluateRequestStates()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.BuildRequestEngine.<BuildRequestEntry_StateChanged>b__45_0()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.BuildRequestEngine.<>c__DisplayClass67_0.<QueueAction>b__0()
1>MSBUILD : error MSB4166:
1>MSBUILD : error MSB4166: ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
1>MSBUILD : error MSB4166: at System.Collections.Generic.List`1..ctor(Int32 capacity)
1>MSBUILD : error MSB4166: at System.Collections.Concurrent.ConcurrentDictionary`2.GetKeys()
1>MSBUILD : error MSB4166: at Microsoft.Build.Execution.BuildResult.CacheIfPossible()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.ResultsCache.WriteResultsToDisk()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.BuildRequestEngine.CheckMemoryUsage()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.BuildRequestEngine.EvaluateRequestStates()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.BuildRequestEngine.<BuildRequestEntry_StateChanged>b__45_0()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.BuildRequestEngine.<>c__DisplayClass67_0.<QueueAction>b__0()
1>MSBUILD : error MSB4166: --- End of inner exception stack trace ---
1>MSBUILD : error MSB4166: at Microsoft.Build.Shared.ErrorUtilities.ThrowInternalError(String message, Exception innerException, Object[] args)
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.BuildRequestEngine.<>c__DisplayClass67_0.<QueueAction>b__0()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.BuildRequestEngine.<>c.<InitializeForBuild>b__37_0(Action action)
1>MSBUILD : error MSB4166: at System.Threading.Tasks.Dataflow.ActionBlock`1.ProcessMessage(Action`1 action, KeyValuePair`2 messageWithId)
1>MSBUILD : error MSB4166: at System.Threading.Tasks.Dataflow.ActionBlock`1.<>c__DisplayClass6_0.<.ctor>b__0(KeyValuePair`2 messageWithId)
1>MSBUILD : error MSB4166: at System.Threading.Tasks.Dataflow.Internal.TargetCore`1.ProcessMessagesLoopCore()
1>MSBUILD : error MSB4166: --- End of inner exception stack trace ---
1>MSBUILD : error MSB4166: at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
1>MSBUILD : error MSB4166: at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.BuildRequestEngine.CleanupForBuild()
1>MSBUILD : error MSB4166: at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
1>MSBUILD : error MSB4166: at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Exception& shutdownException)
1>MSBUILD : error MSB4166: at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
1>MSBUILD : error MSB4166: at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwitches switchesNotFromAutoResponseFile, String& projectFile, String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Boolean& needToValidateProject, String& schemaFile, Int32& cpuCount, Boolean& enableNodeReuse, TextWriter& preprocessWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, Boolean& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean recursing)
1>MSBUILD : error MSB4166: at Microsoft.Build.CommandLine.MSBuildApp.Execute(String commandLine)
1>MSBUILD : error MSB4166: at Microsoft.Build.CommandLine.MSBuildApp.Main()
1>MSBUILD : error MSB4166: ---> (Inner Exception #0) Microsoft.Build.Shared.InternalErrorException: MSB0001: Internal MSBuild Error: Exception of type 'System.OutOfMemoryException' was thrown.
1>MSBUILD : error MSB4166: =============
1>MSBUILD : error MSB4166: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
1>MSBUILD : error MSB4166: at System.Collections.Generic.List`1..ctor(Int32 capacity)
1>MSBUILD : error MSB4166: at System.Collections.Concurrent.ConcurrentDictionary`2.GetKeys()
1>MSBUILD : error MSB4166: at Microsoft.Build.Execution.BuildResult.CacheIfPossible()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.ResultsCache.WriteResultsToDisk()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.BuildRequestEngine.CheckMemoryUsage()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.BuildRequestEngine.EvaluateRequestStates()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.BuildRequestEngine.<BuildRequestEntry_StateChanged>b__45_0()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.BuildRequestEngine.<>c__DisplayClass67_0.<QueueAction>b__0()
1>MSBUILD : error MSB4166:
1>MSBUILD : error MSB4166: ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
1>MSBUILD : error MSB4166: at System.Collections.Generic.List`1..ctor(Int32 capacity)
1>MSBUILD : error MSB4166: at System.Collections.Concurrent.ConcurrentDictionary`2.GetKeys()
1>MSBUILD : error MSB4166: at Microsoft.Build.Execution.BuildResult.CacheIfPossible()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.ResultsCache.WriteResultsToDisk()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.BuildRequestEngine.CheckMemoryUsage()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.BuildRequestEngine.EvaluateRequestStates()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.BuildRequestEngine.<BuildRequestEntry_StateChanged>b__45_0()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.BuildRequestEngine.<>c__DisplayClass67_0.<QueueAction>b__0()
1>MSBUILD : error MSB4166: --- End of inner exception stack trace ---
1>MSBUILD : error MSB4166: at Microsoft.Build.Shared.ErrorUtilities.ThrowInternalError(String message, Exception innerException, Object[] args)
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.BuildRequestEngine.<>c__DisplayClass67_0.<QueueAction>b__0()
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.BuildRequestEngine.<>c.<InitializeForBuild>b__37_0(Action action)
1>MSBUILD : error MSB4166: at System.Threading.Tasks.Dataflow.ActionBlock`1.ProcessMessage(Action`1 action, KeyValuePair`2 messageWithId)
1>MSBUILD : error MSB4166: at System.Threading.Tasks.Dataflow.ActionBlock`1.<>c__DisplayClass6_0.<.ctor>b__0(KeyValuePair`2 messageWithId)
1>MSBUILD : error MSB4166: at System.Threading.Tasks.Dataflow.Internal.TargetCore`1.ProcessMessagesLoopCore()<---
1>MSBUILD : error MSB4166:
1>MSBUILD : error MSB4166: ===================
1>MSBUILD : error MSB4166:
1>MSBUILD : error MSB4166:
1>MSBUILD : error MSB4166: C:\Users\Osman\AppData\Local\Temp\MSBuild_pid-592_761c525002ae42d0912285b956fe17a7.failure.txt:
1>MSBUILD : error MSB4166: UNHANDLED EXCEPTIONS FROM PROCESS 592:
1>MSBUILD : error MSB4166: =====================
1>MSBUILD : error MSB4166: 11/22/2019 4:24:52 PM
1>MSBUILD : error MSB4166: System.IO.IOException: Pipe is broken.
1>MSBUILD : error MSB4166: at System.IO.Pipes.PipeStream.CheckWriteOperations()
1>MSBUILD : error MSB4166: at System.IO.Pipes.PipeStream.Write(Byte[] buffer, Int32 offset, Int32 count)
1>MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.NodeEndpointOutOfProcBase.RunReadLoop(Stream localReadPipe, Stream localWritePipe, ConcurrentQueue`1 localPacketQueue, AutoResetEvent localPacketAvailable, AutoResetEvent localTerminatePacketPump)
1>MSBUILD : error MSB4166: ===================
1>MSBUILD : error MSB4166:
1>MSBUILD : error MSB4166:
1>A task was canceled.
1>A task was canceled.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment