Share via

Error MSB4166: Child node "2" exited prematurely. Shutting down

Vuyiswa Maseko 351 Reputation points
2021-04-04T21:21:08.397+00:00

Good Day All

Suddenly my project does not want to build successful and it does not give an Error , i went to check the Output and this is what i found

2>MSBUILD : error MSB4166: Child node "2" exited prematurely. Shutting down. Diagnostic information may be found in files in "C:\Users\MYPC\AppData\Local\Temp\" and will be named MSBuild_*.failure.txt. This location can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.
========== Rebuild All: 1 succeeded, 1 failed, 0 skipped ==========

Things i tried

1) I tried to restart the machine
2) delete the bin Directory
3) Clear the Cache Folder

But still the Error Persist

Developer technologies | .NET | Xamarin

2 answers

Sort by: Most helpful
  1. Vuyiswa Maseko 351 Reputation points
    2021-06-02T12:19:05.177+00:00

    To resolve this issue i had to Update the Visual studio version. check if you are using the latest. it does not have a bug

    1 person found this answer helpful.

  2. Kumar, Pushpendra 1 Reputation point
    2021-06-02T12:32:01.957+00:00

    ![101761-image.png]1

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.