SOS ! Win10/Target 1903/ MSBUILD : error MSB4166: Child node “2”

  • Thread starter Thread starter nakayamakazuhiko
  • Start date Start date
N

nakayamakazuhiko

Guest
When I compile my UWP app with Target 1903 SDK.
It make this error.

MSBUILD : error MSB4166: Child node “2”

Here is MSBuild_*.failure.txt.

UNHANDLED EXCEPTIONS FROM PROCESS 9884:
=====================
2019/06/13 18:19:03
System.IO.IOException: Pipe is broken
場所 System.IO.Pipes.NamedPipeServerStream.CheckConnectOperationsServer()
場所 System.IO.Pipes.NamedPipeServerStream.BeginWaitForConnection(AsyncCallback callback, Object state)
場所 Microsoft.Build.BackEnd.NodeEndpointOutOfProcBase.PacketPumpProc()
===================

UNHANDLED EXCEPTIONS FROM PROCESS 18248:
=====================
2019/06/13 18:19:03
System.IO.IOException: Pipe broken
場所 System.IO.Pipes.NamedPipeServerStream.CheckConnectOperationsServer()
場所 System.IO.Pipes.NamedPipeServerStream.BeginWaitForConnection(AsyncCallback callback, Object state)
場所 Microsoft.Build.BackEnd.NodeEndpointOutOfProcBase.PacketPumpProc()
===================

UNHANDLED EXCEPTIONS FROM PROCESS 18964:
=====================
2019/06/13 20:49:46
System.IO.IOException: Pipe is broken
場所 System.IO.Pipes.PipeStream.CheckWriteOperations()
場所 System.IO.Pipes.PipeStream.Write(Byte[] buffer, Int32 offset, Int32 count)
場所 Microsoft.Build.BackEnd.NodeEndpointOutOfProcBase.RunReadLoop(Stream localReadPipe, Stream localWritePipe, ConcurrentQueue`1 localPacketQueue, AutoResetEvent localPacketAvailable, AutoResetEvent localTerminatePacketPump)
===================

UNHANDLED EXCEPTIONS FROM PROCESS 10108:
=====================
2019/06/13 19:53:02
System.IO.IOException: Pipe is broken
場所 System.IO.Pipes.PipeStream.WinIOError(Int32 errorCode)
場所 System.IO.Pipes.PipeStream.BeginWriteCore(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state)
場所 System.IO.Pipes.PipeStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
場所 System.IO.Pipes.PipeStream.Write(Byte[] buffer, Int32 offset, Int32 count)
場所 Microsoft.Build.BackEnd.NodeEndpointOutOfProcBase.RunReadLoop(Stream localReadPipe, Stream localWritePipe, ConcurrentQueue`1 localPacketQueue, AutoResetEvent localPacketAvailable, AutoResetEvent localTerminatePacketPump)
===================



Error happen with below condition.

  • UWP app , When I used Target = 1903(18362) SDK.
  • Windows 10 OS 1903 or 1809, I tested both. Both make same error from Visual Studio.

I tried below.

  • Re-create new project and copy files from previous project to new one.
    Result was same : ( wow..
  • I tried different PC to compile. but It happened same result.
    this mean, Without I have to resolve this issue, I can not use 1903-Win-10... Please help...
  • Environment value "MSBUILDDISABLENODEREUSE=1", I tried. It make same error still.

To pass the compile, I need below

  • Change back to Target = 1809 (17763). Compile work fine.
  • Windows 10 OS 1903 or 1809, I tested both. As long as I use Target=1809, It is possible to do compile

Here is my environment.
Visual Studio 2017 (15.9.13)
Windows 10 Professional OS

Here is my Visual Studio compile output : ( sorry, it's Japanese )

1>------ ビルド開始: プロジェクト: Bg7Uwp1, 構成: Debug x64 ------
1>MSBUILD : error MSB4166: 子ノード "2" は処理の途中で終了しました。シャットダウンしています。診断情報は "C:\Users\nakayama\AppData\Local\Temp\" のファイル内で見つかる可能性があり、MSBuild_*.failure.txt という名前になります。この場所は変更できます。変更するには、MSBUILDDEBUGPATH 環境変数を別のディレクトリに設定します。
========== ビルド: 0 正常終了、1 失敗、0 更新不要、0 スキップ ==========


I also tried with Visual Studio 2019. It make same error.
When 2019 VS, It generated this error in output

1>------ ビルド開始: プロジェクト: Bg7Uwp1, 構成: Release x64 ------
1>MSBUILD : error MSB4166: 子ノード "2" は処理の途中で終了しました。シャットダウンしています。診断情報は "C:\Users\nakayama\AppData\Local\Temp\" のファイル内で見つかる可能性があり、MSBuild_*.failure.txt という名前になります。この場所は変更できます。変更するには、MSBUILDDEBUGPATH 環境変数を別のディレクトリに設定します。
1>MSBUILD : error MSB4166: C:\Users\nakayama\AppData\Local\Temp\MSBuild_pid-21904_26c2cbfa24d64814aba1093682768db8.failure.txt:
1>MSBUILD : error MSB4166: UNHANDLED EXCEPTIONS FROM PROCESS 21904:
1>MSBUILD : error MSB4166: =====================
1>MSBUILD : error MSB4166: 2019/06/14 16:49:46
1>MSBUILD : error MSB4166: System.IO.IOException: パイプが壊れています。
1>MSBUILD : error MSB4166: 場所 System.IO.Pipes.PipeStream.WinIOError(Int32 errorCode)
1>MSBUILD : error MSB4166: 場所 System.IO.Pipes.PipeStream.BeginWriteCore(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state)
1>MSBUILD : error MSB4166: 場所 System.IO.Pipes.PipeStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
1>MSBUILD : error MSB4166: 場所 System.IO.Pipes.PipeStream.Write(Byte[] buffer, Int32 offset, Int32 count)
1>MSBUILD : error MSB4166: 場所 Microsoft.Build.BackEnd.NodeEndpointOutOfProcBase.RunReadLoop(Stream localReadPipe, Stream localWritePipe, ConcurrentQueue`1 localPacketQueue, AutoResetEvent localPacketAvailable, AutoResetEvent localTerminatePacketPump)
1>MSBUILD : error MSB4166: ===================
1>MSBUILD : error MSB4166:
1>MSBUILD : error MSB4166:
========== ビルド: 0 正常終了、1 失敗、0 更新不要、0 スキップ ==========



Please help .

Continue reading...
 
Back
Top