Skip to content

Errors raised during the generation process are not propagated correctly to the build host #79

@glopesdev

Description

@glopesdev

More generally, any error caused by running custom template code will be thrown with the following unhelpful message:

 Generators failed with 2 error(s) (6.2s) → Generators\bin\net6.0\Generators.dll
    EXEC : error : Error running transform: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions