Steps to reproduce
- Clone https://github.com/natemcmaster/AspNetCore/tree/6c052927ceab5b0b3ef859858e9d9a03ff11561d
- Run
eng/scripts/InstallVisualStudio.ps1 to install Visual Studio 2019 Preview 2
- Run
eng/scripts/cibuild.cmd
Expected behavior
Build passes.
Actual behavior
MSBuild.exe dies unexpectedly. There are two errors from different MSBuild processes.
Error 1 (as seen in console output)
System.Runtime.Serialization.SerializationException: Unable to find assembly 'Microsoft.VisualStudio.CodeAnalysis, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
at System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo.GetAssembly()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(BinaryAssemblyInfo assemblyInfo, String name)
at System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped record)
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryHeaderEnum binaryHeaderEnum)
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at Microsoft.Build.BackEnd.NodePacketTranslator.NodePacketReadTranslator.TranslateDotNet[T](T& value)
MSBuild_pid-7880_52c86c928e7f44af97abd968a86486ec.failure.txt
Error 2 - found in MSBuild_pid-x-.failure.txt
System.IO.IOException: Pipe is broken.
at System.IO.Pipes.PipeStream.WinIOError(Int32 errorCode)
at System.IO.Pipes.PipeStream.BeginWriteCore(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state)
at System.IO.Pipes.PipeStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.Pipes.PipeStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at Microsoft.Build.BackEnd.NodeEndpointOutOfProcBase.RunReadLoop(Stream localReadPipe, Stream localWritePipe, ConcurrentQueue`1 localPacketQueue, AutoResetEvent localPacketAvailable, AutoResetEvent localTerminatePacketPump)
MSBuild_pid-7880_52c86c928e7f44af97abd968a86486ec.failure.txt
See https://dev.azure.com/dnceng/public/_build/results?buildId=88315&view=logs for example
Environment data
msbuild /version output: Microsoft (R) Build Engine version 16.0.218-preview+g5c625fa747 for .NET Framework
OS info: Windows 10 Enterprise
If applicable, version of the tool that invokes MSBuild (Visual Studio, dotnet CLI, etc): MSBuild.exe
Steps to reproduce
eng/scripts/InstallVisualStudio.ps1to install Visual Studio 2019 Preview 2eng/scripts/cibuild.cmdExpected behavior
Build passes.
Actual behavior
MSBuild.exe dies unexpectedly. There are two errors from different MSBuild processes.
Error 1 (as seen in console output)
MSBuild_pid-7880_52c86c928e7f44af97abd968a86486ec.failure.txt
Error 2 - found in MSBuild_pid-x-.failure.txt
MSBuild_pid-7880_52c86c928e7f44af97abd968a86486ec.failure.txt
See https://dev.azure.com/dnceng/public/_build/results?buildId=88315&view=logs for example
Environment data
msbuild /versionoutput:Microsoft (R) Build Engine version 16.0.218-preview+g5c625fa747 for .NET FrameworkOS info: Windows 10 Enterprise
If applicable, version of the tool that invokes MSBuild (Visual Studio, dotnet CLI, etc): MSBuild.exe