-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Logging through an out-of-date TaskLoggingHelper causes MSB0001 #4792
Copy link
Copy link
Closed
Labels
Area: DebuggabilityIssues impacting the diagnosability of builds, including logging and clearer error messages.Issues impacting the diagnosability of builds, including logging and clearer error messages.Area: EngineIssues impacting the core execution of targets and tasks.Issues impacting the core execution of targets and tasks.triaged
Milestone
Description
MSB0001: Internal MSBuild Error: ContextID 10 should have been in the ID-to-project file mapping but wasn't!
at Microsoft.Build.Shared.ErrorUtilities.ThrowInternalError(String message, Object[] args)
at Microsoft.Build.BackEnd.Logging.LoggingService.GetAndVerifyProjectFileFromContext(BuildEventContext context)
at Microsoft.Build.BackEnd.Logging.LoggingService.LogBuildEvent(BuildEventArgs buildEvent)
at Microsoft.Build.BackEnd.TaskHost.LogMessageEvent(BuildMessageEventArgs e)
at Microsoft.Build.Utilities.TaskLoggingHelper.LogMessage(MessageImportance importance, String message, Object[] messageArgs)
at NuGet.Build.MSBuildLogger.LogMessage(INuGetLogMessage logMessage, MessageImportance importance, LogMessageWithDetails logWithDetails, LogMessageAsString logAsString)
at NuGet.Build.MSBuildLogger.LogForNonMono(INuGetLogMessage message)
at NuGet.Build.MSBuildLogger.Log(ILogMessage message)
at NuGet.Common.LoggerBase.Log(LogLevel level, String data)
at NuGet.Common.LoggerBase.LogVerbose(String data)
at NuGet.Protocol.Plugins.LogRequestHandler.Log(LogRequest request)
at NuGet.Protocol.Plugins.LogRequestHandler.HandleResponseAsync(IConnection connection, Message request, IResponseHandler responseHandler, CancellationToken cancellationToken)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area: DebuggabilityIssues impacting the diagnosability of builds, including logging and clearer error messages.Issues impacting the diagnosability of builds, including logging and clearer error messages.Area: EngineIssues impacting the core execution of targets and tasks.Issues impacting the core execution of targets and tasks.triaged