Skip to content

.NET — Support Post‑Emit Execution Step in .NET Emitter #10235

@lirenhe

Description

@lirenhe

Context

We got the ask from Foundry team that there is a general requirement for post‑generation scripts to update the generated code.
e.g. update code emitter outputs and to deal with emitted code issues that service team hasn't decided the correct approach for yet.

Within team discussion, people suggested that this should be treated as a general emitter capability, not a language‑specific workaround. And Emitter‑level support is the preferred long‑term model.

Proposal

Add post‑emit execution support in the .NET emitter
The emitter should invoke a script after code emission but before downstream pipeline steps

Metadata

Metadata

Assignees

No one assigned

    Labels

    emitter:client:csharpIssue for the C# client emitter: @typespec/http-client-csharp

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions