Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Task host node exited prematurely Error. Log file location

enter image description here

For some time now I have trying to run a work project and recieving the following errors. Clicking run again correctly builds the project and allows me to run. Using TFS I have now checked my work in and other collegues have taken a copy, now thier versions of Visual Studio are doing exactly the same.

Where is the MSBuild_*failure.txt written to as I (or they) can't seem to find it on our machines?

Better yet is there a known solution to stopping this behaviour?

The solution contains 6 projects, all written in VB.net, some projects are class librarys some windows applications.

like image 578
Matt Skeldon Avatar asked Jul 31 '14 10:07

Matt Skeldon


1 Answers

Check to see if you have MSBuild.exe processes running at the time of building. MSBuild uses nodes that get reused by default. This sometimes causes errors when building. To turn it off, just specify /nodeReuse:false. http://msdn.microsoft.com/en-us/library/ms164311.aspx

like image 89
Jason Struckhoff Avatar answered Nov 10 '22 16:11

Jason Struckhoff