-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedLooking for community contributions!Looking for community contributions!
Description
Added the following logging parameters:
-bl:slngen.binlog --consolelogger:ShowEventId,Summary,Verbosity=Detailed --filelogger:LogFile=slngen.log,Append,Verbosity=Diagnostic,Encoding=UTF-8
Without them, slngen worked, but with them, it causes this error:
SlnGen : error : System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: Stack empty.
SlnGen : error : at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
SlnGen : error : at System.Collections.Generic.Stack`1.Pop()
SlnGen : error : at Microsoft.Build.BackEnd.Logging.SerialConsoleLogger.WriteProjectStarted()
SlnGen : error : at Microsoft.Build.BackEnd.Logging.SerialConsoleLogger.ShowDeferredMessages()
SlnGen : error : at Microsoft.Build.BackEnd.Logging.SerialConsoleLogger.ProjectStartedHandler(Object sender, ProjectStartedEventArgs e)
SlnGen : error : at Microsoft.Build.Logging.EventArgsDispatcher.Dispatch(BuildEventArgs buildEvent)
SlnGen : error : at Microsoft.VisualStudio.SlnGen.ProjectLoading.ProjectGraphProjectLoader.CreateProjectInstance(String projectFullPath, IDictionary`2 globalProperties, ProjectCollection projectCollection)
SlnGen : error : at Microsoft.Build.Graph.GraphBuilder.ParseProject(ConfigurationMetadata configurationMetadata)
SlnGen : error : at System.Lazy`1.CreateValue()
SlnGen : error : at System.Lazy`1.LazyInitValue()
SlnGen : error : at Microsoft.Build.Graph.ParallelWorkSet`2.ExecuteWorkItem()
SlnGen : error : --- End of inner exception stack trace ---
SlnGen : error : at Microsoft.Build.Graph.ParallelWorkSet`2.WaitForAllWorkAndComplete()
SlnGen : error : at Microsoft.Build.Graph.GraphBuilder.FindGraphNodes()
SlnGen : error : at Microsoft.Build.Graph.GraphBuilder.BuildGraph()
SlnGen : error : at Microsoft.Build.Graph.ProjectGraph..ctor(IEnumerable`1 entryPoints, ProjectCollection projectCollection, ProjectInstanceFactoryFunc projectInstanceFactory, Int32 degreeOfParallelism, CancellationToken cancellationToken)
SlnGen : error : at Microsoft.VisualStudio.SlnGen.ProjectLoading.ProjectGraphProjectLoader.LoadProjects(IEnumerable`1 projectPaths, ProjectCollection projectCollection, IDictionary`2 globalProperties)
SlnGen : error : at Microsoft.VisualStudio.SlnGen.ProjectLoading.ProjectLoader.LoadProjects(FileInfo msbuildExeFileInfo, ProjectCollection projectCollection, IEnumerable`1 entryProjects, IDictionary`2 globalProperties, ISlnGenLogger logger)
SlnGen : error : ---> (Inner Exception #0) System.InvalidOperationException: Stack empty.
SlnGen : error : at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
SlnGen : error : at System.Collections.Generic.Stack`1.Pop()
SlnGen : error : at Microsoft.Build.BackEnd.Logging.SerialConsoleLogger.WriteProjectStarted()
SlnGen : error : at Microsoft.Build.BackEnd.Logging.SerialConsoleLogger.ShowDeferredMessages()
SlnGen : error : at Microsoft.Build.BackEnd.Logging.SerialConsoleLogger.ProjectStartedHandler(Object sender, ProjectStartedEventArgs e)
SlnGen : error : at Microsoft.Build.Logging.EventArgsDispatcher.Dispatch(BuildEventArgs buildEvent)
SlnGen : error : at Microsoft.VisualStudio.SlnGen.ProjectLoading.ProjectGraphProjectLoader.CreateProjectInstance(String projectFullPath, IDictionary`2 globalProperties, ProjectCollection projectCollection)
SlnGen : error : at Microsoft.Build.Graph.GraphBuilder.ParseProject(ConfigurationMetadata configurationMetadata)
SlnGen : error : at System.Lazy`1.CreateValue()
SlnGen : error : at System.Lazy`1.LazyInitValue()
SlnGen : error : at Microsoft.Build.Graph.ParallelWorkSet`2.ExecuteWorkItem()<---
SlnGen : error :
7 Warning(s)
1 Error(s)
(realized I had commas above as was confused by #450; so that may have been part of the issue for this one, but had another stack below)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedLooking for community contributions!Looking for community contributions!