Intermittent build break with MSB4166: Child node “#” exited prematurely. VS 15.9 Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!error MSB4166: Child node exited prematurely. Shutting downHow do I specify the platform for MSBuild?error MSB4166: Child node exited prematurely. Shutting downThe mystery of stuck inactive msbuild.exe processes, locked Stylecop.dll, Nuget AccessViolationException and CI builds clashing with each otherProblems with Parallel build using MSBuildHeatDirectory failure on TFS with MSBUILD error MSB4166: Child node “3” exited prematurelyMSBuild error in Jenkins CINo project templates are compiling with Visual Studio 2017 RCMSBuild is failing after Jenkins job is queued with ECONNREFUSED, url is not correctconfiguring jenkins msbuild pathSonarQube MSBuild integration failed with Jenkins, works fine on command line

If Windows 7 doesn't support WSL, then what does Linux subsystem option mean?

Why weren't discrete x86 CPUs ever used in game hardware?

As a beginner, should I get a Squier Strat with a SSS config or a HSS?

Trademark violation for app?

How to tell that you are a giant?

What was the first language to use conditional keywords?

Is it possible for SQL statements to execute concurrently within a single session in SQL Server?

What is the appropriate index architecture when forced to implement IsDeleted (soft deletes)?

Do I really need to have a message in a novel to appeal to readers?

Crossing US/Canada Border for less than 24 hours

Take 2! Is this homebrew Lady of Pain warlock patron balanced?

Do wooden building fires get hotter than 600°C?

How could we fake a moon landing now?

Why do we need to use the builder design pattern when we can do the same thing with setters?

How fail-safe is nr as stop bytes?

Project Euler #1 in C++

The code below, is it ill-formed NDR or is it well formed?

Central Vacuuming: Is it worth it, and how does it compare to normal vacuuming?

Denied boarding although I have proper visa and documentation. To whom should I make a complaint?

How can I reduce the gap between left and right of cdot with a macro?

How would a mousetrap for use in space work?

Can a new player join a group only when a new campaign starts?

Morning, Afternoon, Night Kanji

SF book about people trapped in a series of worlds they imagine



Intermittent build break with MSB4166: Child node “#” exited prematurely. VS 15.9



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)
Data science time! April 2019 and salary with experience
The Ask Question Wizard is Live!error MSB4166: Child node exited prematurely. Shutting downHow do I specify the platform for MSBuild?error MSB4166: Child node exited prematurely. Shutting downThe mystery of stuck inactive msbuild.exe processes, locked Stylecop.dll, Nuget AccessViolationException and CI builds clashing with each otherProblems with Parallel build using MSBuildHeatDirectory failure on TFS with MSBUILD error MSB4166: Child node “3” exited prematurelyMSBuild error in Jenkins CINo project templates are compiling with Visual Studio 2017 RCMSBuild is failing after Jenkins job is queued with ECONNREFUSED, url is not correctconfiguring jenkins msbuild pathSonarQube MSBuild integration failed with Jenkins, works fine on command line



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















We are seeing intermittent break with with our automated build system. The error is with MSBuild child nodes and there doesn't appear to be any logging or error information. The error can happen randomly on any node and at different points in the build. And, I haven't been able to reproduce the issue by running the building on the command line.



 0>MSBUILD : error MSB4166: Child node "8" exited prematurely. Shutting down.
Diagnostic information may be found in files in "C:Users<user>AppDataLocalTemp"
and will be named MSBuild_*.failure.txt. This location can be changed by setting
the MSBUILDDEBUGPATH environment variable to a different directory.


The expected log file MSBuild_*.failure.txt doesn't exist and there isn't any information in the console output that would indicate what is causing the failure. We are using "Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework" and Jenkins 2.151.3










share|improve this question
























  • What the result if add /nodeReuse:false in the msbuild command when executing the command by jenkins. Have a look at this issue, check if disabling the reuse feature helps. A feedback would be expected.

    – Lance Li-MSFT
    Mar 11 at 5:54












  • Any update? What the result if you use command like this: msbuild.exe xxxConsoleApp44.csproj /nodeReuse:false

    – Lance Li-MSFT
    Mar 13 at 9:55











  • Added /nodeReuse:false to the msbuild command line and it appears to have resolved the issue. Thanks for the help.

    – Scott M.
    Mar 15 at 14:22











  • Hi Scott, If my reply is helpful for your issue, could you please mark it as answer. This can be beneficial to other community members easier to search the solution. Thanks!

    – Lance Li-MSFT
    Mar 25 at 5:20

















1















We are seeing intermittent break with with our automated build system. The error is with MSBuild child nodes and there doesn't appear to be any logging or error information. The error can happen randomly on any node and at different points in the build. And, I haven't been able to reproduce the issue by running the building on the command line.



 0>MSBUILD : error MSB4166: Child node "8" exited prematurely. Shutting down.
Diagnostic information may be found in files in "C:Users<user>AppDataLocalTemp"
and will be named MSBuild_*.failure.txt. This location can be changed by setting
the MSBUILDDEBUGPATH environment variable to a different directory.


The expected log file MSBuild_*.failure.txt doesn't exist and there isn't any information in the console output that would indicate what is causing the failure. We are using "Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework" and Jenkins 2.151.3










share|improve this question
























  • What the result if add /nodeReuse:false in the msbuild command when executing the command by jenkins. Have a look at this issue, check if disabling the reuse feature helps. A feedback would be expected.

    – Lance Li-MSFT
    Mar 11 at 5:54












  • Any update? What the result if you use command like this: msbuild.exe xxxConsoleApp44.csproj /nodeReuse:false

    – Lance Li-MSFT
    Mar 13 at 9:55











  • Added /nodeReuse:false to the msbuild command line and it appears to have resolved the issue. Thanks for the help.

    – Scott M.
    Mar 15 at 14:22











  • Hi Scott, If my reply is helpful for your issue, could you please mark it as answer. This can be beneficial to other community members easier to search the solution. Thanks!

    – Lance Li-MSFT
    Mar 25 at 5:20













1












1








1








We are seeing intermittent break with with our automated build system. The error is with MSBuild child nodes and there doesn't appear to be any logging or error information. The error can happen randomly on any node and at different points in the build. And, I haven't been able to reproduce the issue by running the building on the command line.



 0>MSBUILD : error MSB4166: Child node "8" exited prematurely. Shutting down.
Diagnostic information may be found in files in "C:Users<user>AppDataLocalTemp"
and will be named MSBuild_*.failure.txt. This location can be changed by setting
the MSBUILDDEBUGPATH environment variable to a different directory.


The expected log file MSBuild_*.failure.txt doesn't exist and there isn't any information in the console output that would indicate what is causing the failure. We are using "Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework" and Jenkins 2.151.3










share|improve this question
















We are seeing intermittent break with with our automated build system. The error is with MSBuild child nodes and there doesn't appear to be any logging or error information. The error can happen randomly on any node and at different points in the build. And, I haven't been able to reproduce the issue by running the building on the command line.



 0>MSBUILD : error MSB4166: Child node "8" exited prematurely. Shutting down.
Diagnostic information may be found in files in "C:Users<user>AppDataLocalTemp"
and will be named MSBuild_*.failure.txt. This location can be changed by setting
the MSBUILDDEBUGPATH environment variable to a different directory.


The expected log file MSBuild_*.failure.txt doesn't exist and there isn't any information in the console output that would indicate what is causing the failure. We are using "Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework" and Jenkins 2.151.3







jenkins msbuild visual-studio-2017






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 17 at 4:02









Lance Li-MSFT

8091210




8091210










asked Mar 8 at 20:23









Scott M.Scott M.

83




83












  • What the result if add /nodeReuse:false in the msbuild command when executing the command by jenkins. Have a look at this issue, check if disabling the reuse feature helps. A feedback would be expected.

    – Lance Li-MSFT
    Mar 11 at 5:54












  • Any update? What the result if you use command like this: msbuild.exe xxxConsoleApp44.csproj /nodeReuse:false

    – Lance Li-MSFT
    Mar 13 at 9:55











  • Added /nodeReuse:false to the msbuild command line and it appears to have resolved the issue. Thanks for the help.

    – Scott M.
    Mar 15 at 14:22











  • Hi Scott, If my reply is helpful for your issue, could you please mark it as answer. This can be beneficial to other community members easier to search the solution. Thanks!

    – Lance Li-MSFT
    Mar 25 at 5:20

















  • What the result if add /nodeReuse:false in the msbuild command when executing the command by jenkins. Have a look at this issue, check if disabling the reuse feature helps. A feedback would be expected.

    – Lance Li-MSFT
    Mar 11 at 5:54












  • Any update? What the result if you use command like this: msbuild.exe xxxConsoleApp44.csproj /nodeReuse:false

    – Lance Li-MSFT
    Mar 13 at 9:55











  • Added /nodeReuse:false to the msbuild command line and it appears to have resolved the issue. Thanks for the help.

    – Scott M.
    Mar 15 at 14:22











  • Hi Scott, If my reply is helpful for your issue, could you please mark it as answer. This can be beneficial to other community members easier to search the solution. Thanks!

    – Lance Li-MSFT
    Mar 25 at 5:20
















What the result if add /nodeReuse:false in the msbuild command when executing the command by jenkins. Have a look at this issue, check if disabling the reuse feature helps. A feedback would be expected.

– Lance Li-MSFT
Mar 11 at 5:54






What the result if add /nodeReuse:false in the msbuild command when executing the command by jenkins. Have a look at this issue, check if disabling the reuse feature helps. A feedback would be expected.

– Lance Li-MSFT
Mar 11 at 5:54














Any update? What the result if you use command like this: msbuild.exe xxxConsoleApp44.csproj /nodeReuse:false

– Lance Li-MSFT
Mar 13 at 9:55





Any update? What the result if you use command like this: msbuild.exe xxxConsoleApp44.csproj /nodeReuse:false

– Lance Li-MSFT
Mar 13 at 9:55













Added /nodeReuse:false to the msbuild command line and it appears to have resolved the issue. Thanks for the help.

– Scott M.
Mar 15 at 14:22





Added /nodeReuse:false to the msbuild command line and it appears to have resolved the issue. Thanks for the help.

– Scott M.
Mar 15 at 14:22













Hi Scott, If my reply is helpful for your issue, could you please mark it as answer. This can be beneficial to other community members easier to search the solution. Thanks!

– Lance Li-MSFT
Mar 25 at 5:20





Hi Scott, If my reply is helpful for your issue, could you please mark it as answer. This can be beneficial to other community members easier to search the solution. Thanks!

– Lance Li-MSFT
Mar 25 at 5:20












1 Answer
1






active

oldest

votes


















0















This issue seems to always occur in CI server while works well in
local machine by msbuild.




Not sure the cause of it, but add the /nodeReuse:false to the msbuild command can help fix this issue.



You can have a look at [this similar one].(error MSB4166: Child node exited prematurely. Shutting down).






share|improve this answer























  • Adding /nodeReuse:false has resolved the issue.

    – Scott M.
    Mar 26 at 13:15











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55070502%2fintermittent-build-break-with-msb4166-child-node-exited-prematurely-vs-15%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0















This issue seems to always occur in CI server while works well in
local machine by msbuild.




Not sure the cause of it, but add the /nodeReuse:false to the msbuild command can help fix this issue.



You can have a look at [this similar one].(error MSB4166: Child node exited prematurely. Shutting down).






share|improve this answer























  • Adding /nodeReuse:false has resolved the issue.

    – Scott M.
    Mar 26 at 13:15















0















This issue seems to always occur in CI server while works well in
local machine by msbuild.




Not sure the cause of it, but add the /nodeReuse:false to the msbuild command can help fix this issue.



You can have a look at [this similar one].(error MSB4166: Child node exited prematurely. Shutting down).






share|improve this answer























  • Adding /nodeReuse:false has resolved the issue.

    – Scott M.
    Mar 26 at 13:15













0












0








0








This issue seems to always occur in CI server while works well in
local machine by msbuild.




Not sure the cause of it, but add the /nodeReuse:false to the msbuild command can help fix this issue.



You can have a look at [this similar one].(error MSB4166: Child node exited prematurely. Shutting down).






share|improve this answer














This issue seems to always occur in CI server while works well in
local machine by msbuild.




Not sure the cause of it, but add the /nodeReuse:false to the msbuild command can help fix this issue.



You can have a look at [this similar one].(error MSB4166: Child node exited prematurely. Shutting down).







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 17 at 16:18









Lance Li-MSFTLance Li-MSFT

8091210




8091210












  • Adding /nodeReuse:false has resolved the issue.

    – Scott M.
    Mar 26 at 13:15

















  • Adding /nodeReuse:false has resolved the issue.

    – Scott M.
    Mar 26 at 13:15
















Adding /nodeReuse:false has resolved the issue.

– Scott M.
Mar 26 at 13:15





Adding /nodeReuse:false has resolved the issue.

– Scott M.
Mar 26 at 13:15



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55070502%2fintermittent-build-break-with-msb4166-child-node-exited-prematurely-vs-15%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

1928 у кіно

Захаров Федір Захарович

Ель Греко