dotnet / dotnet/msbuild

MSBuild should preserve stacktraces when ToolTask exe throws an exception

Open
#3,054 8 comments 0 reactions 0 assignees View on GitHub
triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

From @jaredpar:

Why is it that MSBuild hides exception stack traces when a ToolTask exe throws an exception?
It takes easy to identify issues and turns them into bugs that can only be identified with a binary logger / verbose log

Classic example in this bug https://github.com/dotnet/roslyn/issues/25286

Here an experienced developer sees a compiler crash and has to throw their hands in the air because the error code is worthless. Yet binary log trivially shows the problem here.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.