The mcs -merge command should wait and retry on failure to read a file to append, especially if the failure is 32, namely ERROR_SHARING_VIOLATION, e.g.:
ERROR: Failed to open input file 'f:\temp\tmpp61lk7nu\_f__gh_runtime_artifacts_tests_coreclr_Windows_NT_x64_Checked_Tests_Core_Root_CoreRun_exe__f__gh_runtime_artifacts_tests_coreclr_Windows_NT_x64_Checked_Tests_Core_Root_p1FE47C2B.mc'. GetLastError()=32
This could be because of anti-virus, or (in the case above), running compact.
category:eng-sys
theme:super-pmi
skill-level:beginner
cost:small
The
mcs -mergecommand should wait and retry on failure to read a file to append, especially if the failure is 32, namelyERROR_SHARING_VIOLATION, e.g.:This could be because of anti-virus, or (in the case above), running
compact.category:eng-sys
theme:super-pmi
skill-level:beginner
cost:small