Failure to load task in OOP node hangs MSBuild
Open
Area: Engine
triaged
- Dominant language
- C#
- Stars
- 5.5k
- Forks
- 1.5k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 133
Description
This issue exacerbates #764 by changing a failure into a hang.
Since the "failure to load" message gets logged by the main MSBuild.exe, it looks like the failure is getting sent over IPC correctly. But then the parent MSBuild hangs forever [in `TaskHostTask.Execute`](https://github.com/Microsoft/msbuild/blob/da283a7bea8a023c47cea73630fa3126c57b49a1/src/XMakeBuildEngine/Instance/TaskFactories/TaskHostTask.cs#L289), while the task host node is just sitting waiting for work.
Maybe the prior `HandlePacket` that got a failure didn't correctly set `taskFinished`?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.