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..

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

Continue reading...
 
Back
Top