Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article describes the MSB4166 error code.
Message text
MSB4166: Child node 'value' exited prematurely. Shutting down. Diagnostic information may be found in files in 'value' and will be named MSBuild_*.failure.txt. This location can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.
Description
The error output text is followed by the exception text, if any.
MSBuild can use multiple processes and there's a scheduler process that distributes work to the various worker nodes. If the worker process crashes without reporting an error to the scheduler, then the scheduler emits this error.
Resolution
Check the error log in the temporary files folder in MSBuild_{guid}.failure.txt.
Report error
This error usually indicates an MSBuild issue, and should be reported to Microsoft. You can report the issue in the MSBuild GitHub repository or at the Developer Community site.
Applies to
All versions of MSBuild