Skip to content

MSBuild should preserve stacktraces when ToolTask exe throws an exception #3054

@KirillOsenkov

Description

@KirillOsenkov

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 dotnet/roslyn#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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions