Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve error messaging when locating tools fails
The subprocess run of `dotnet list package` didn't have exit code checking, so it'd fail silently if anything inside dotnet fell over. For better experience, check the exit code of dotnet and throw if it's not zero, additionally appending stdout from the command for convenience. I hit this locally in testing other changes. Cause of failure was incorrect working directory spec.