We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
While benchmarking buildchecks on orchardCore, an exception was thrown.
While benchmarking, I was running the MSBuild with following parameters:
foreach ($number in 1..20) { D:\bld\artifacts\bin\bootstrap\net472\MSBuild\Current\Bin\MSBuild.exe OrchardCore.sln -maxcpucount:10 -tl:true -t:Clean | Out-Null pskill msbuild | Out-Null (Measure-Command { D:\bld\artifacts\bin\bootstrap\net472\MSBuild\Current\Bin\MSBuild.exe OrchardCore.sln -maxcpucount:10 -tl:true -check -warnAsMessage:"BC0102;BC0105;BC0202" }).TotalSeconds | Out-Default }
Run succeeds without issues.
During the scheduled 20 runs, one failed with:
Unhandled Exception: Microsoft.Build.Framework.InternalErrorException: MSB0001: Internal MSBuild Error: ContextID 87025 should have been in the ID-to-project file mapping but wasn't! at Microsoft.Build.CommandLine.MSBuildApp.BuildProject(String projectFile, String[] targets, String toolsVersion, Dictionary`2 globalProperties, Dictionary`2 restoreProperties, ILogger[] loggers, LoggerVerbosity verbosity, DistributedLoggerRecord[] distributedLoggerRecords, Boolean needToValidateProject, String schemaFile, Int32 cpuCount, Boolean enableNodeReuse, TextWriter preprocessWriter, TextWriter targetsWriter, Boolean detailedSummary, ISet`1 warningsAsErrors, ISet`1 warningsNotAsErrors, ISet`1 warningsAsMessages, Boolean enableRestore, ProfilerLogger profilerLogger, Boolean enableProfiler, Boolean interactive, ProjectIsolationMode isolateProjects, GraphBuildOptions graphBuildOptions, Boolean lowPriority, Boolean question, Boolean isBuildCheckEnabled, String[] inputResultsCaches, String outputResultsCache, Boolean saveProjectResult, BuildResult& result, Boolean reportFileAccesses, String commandLine) in D:\bld\src\MSBuild\XMake.cs:line 1679 at Microsoft.Build.CommandLine.MSBuildApp.Execute(String commandLine) in D:\bld\src\MSBuild\XMake.cs:line 1054 at Microsoft.Build.CommandLine.MSBuildApp.Main() in D:\bld\src\MSBuild\XMake.cs:line 285
I have no idea, if I run into the error more than once, I will try to reproduce it with binlogs enabled.
MsBuild built with release configuration, main branch (head commit 34c4f2b):
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue Description
While benchmarking buildchecks on orchardCore, an exception was thrown.
Steps to Reproduce
While benchmarking,
I was running the MSBuild with following parameters:
Expected Behavior
Run succeeds without issues.
Actual Behavior
During the scheduled 20 runs, one failed with:
Analysis
I have no idea, if I run into the error more than once, I will try to reproduce it with binlogs enabled.
Versions & Configurations
MsBuild built with release configuration, main branch (head commit 34c4f2b):
The text was updated successfully, but these errors were encountered: