Child node "2" came out prematurely

I recently redirected my Windows 8.1 application to Windows 10. I get this error when creating user interface projects,

"MSBUILD : error MSB4166: Child node "2" exited prematurely. Shutting down. Diagnostic information may be found in files in the temporary files directory named MSBuild_*.failure.txt."

This is not particularly useful, so I went to% temp% looking for the specified crash log and it does not exist. Am I looking for the wrong temp directory?

What causes this error? I can create a library support project without this error.

+4
source share
4 answers

So, I worked with this manually. I ended up creating a new project and moving the source files in parts. After something, flip the project to make sure it is still built.

, App.xaml, :

<ResourceDictionary Source="Assets/Resources/LayoutTemplates.xaml" p8:Name="LayoutTemplates" xmlns:p8="http://schemas.microsoft.com/winfx/2006/xaml" />

"" .

...

+2

Windows . , .

+2

.net( → .. → ), , DLL, MSBuild, . , , .

+1

++ , 11 2016 . Windows, Microsoft Windows 10 :

Update for Windows 10 Version 1511 for x64-based Systems (KB3150513)
https://support.microsoft.com/en-us/kb/3150513

Windows Malicious Software Removal Tool for Windows 8, 8.1, 10 and Windows Server 2012, 2012 R2, 2016 x64 Edition - November 2016 (KB890830)
https://support.microsoft.com/en-us/kb/890830

Cumulative Update for Windows 10 Version 1511 for x64-based Systems (KB3198586)
https://support.microsoft.com/en-us/kb/3198586

Security Update for Adobe Flash Player for Windows 10 Version 1511 (for x64-based Systems) (KB3202790)
https://support.microsoft.com/en-us/kb/3202790

Security Update for Adobe Flash Player for Windows 10 Version 1511 (for x64-based Systems) (KB3201860)
https://support.microsoft.com/en-us/kb/3201860

Disabling multi-processor compilation / MP (in the project settings, under C / C ++, General) seems to avoid the problem.

For the record: It happened when you use superibuild 7.22. Not tested if it also occurs without the incredible.

0
source

Source: https://habr.com/ru/post/1625163/


All Articles