-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSBuildWorkspace.OpenSolutionAsync(..)
fails with "[BuildHost PID 3328] The BuildHost process exited with -1. Process output:"
#75292
Comments
I have updated dependencies to:
Microsoft.Build.Locator is still at 1.7.8 (no update available). The issue still exists and I can't seem to get any more information.
|
Hi @BrunoJuchli Communication with the build host initially used STDIO. I wonder if the recent change to using named pipes resolves this issue for you. Could you use version <add key="dotnet-tools" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" /> |
@JoeRobich |
Version Used: 4.11.0
Steps to Reproduce
Unfortunately so far I can only reproduce the issue on GitHub's Windows Workflow Runner (image version).
Furthermore it's based on closed source so it's a bit of a difficult situation.
Therefore I'm looking for guidance how to further investigate the issue - the error / logs I receive are unfortunately not helpful at all.
Expected Behavior
MSBuildWorkspace.OpenSolutionAsync(..)
succeeds opening the solution.Actual Behavior
Workspace Failure
MSBuildWorkspace.WorkspaceFailed
reports(there is no further output).
Exception
OpenSolutionAsync
throws an exception reporting(Full output see at the end).
Roslyn Command Line Log File
I've set
RoslynCommandLineLogFile
but unfortunatley for the reported PID (here3328
) no log file is available (there are for other PIDs).Further Information
Note, that at the time the error occurs several projects have already been evaluted/built. So it's not that "nothing" works, but rather that at some point it trips.
The solution loading is part of a dotnet tool that I've created.
It used to work but now stopped working. I've then tried out updating the Microsoft.Build* packages. Previously I've got the same error as reported here, hence why I tried setting
PrivateAssets="analyzers;build"/
onMicrosoft.CodeAnalysis.Workspaces.MSBuild
.Tool Project File
The current version looks like:
Full output
The text was updated successfully, but these errors were encountered: