MSB4166

MSB4166: Child node 'node' exited prematurely. Shutting down. Diagnostic information may be found in files in 'path' and will be named MSBuild_*.failure.txt. This location can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.

例外テキストがある場合は、表示されるエラー テキストの後にそれが続きます。

MSBuild では複数のプロセスを使用でき、さまざまなワーカー ノードに作業を分散するスケジューラ プロセスがあります。 スケジューラにエラーを報告せずにワーカー プロセスがクラッシュした場合、スケジューラによってこのエラーが出力されます。 一時ファイル フォルダー内にある MSBuild_{guid}.failure.txt のエラー ログを確認してください。

通常、このエラーは MSBuild の問題を示し、Microsoft に報告する必要があります。 MSBuild GitHub リポジトリまたは Developer Community に問題を報告してください。