Skip to content

aspire sdk dump should filter output to the specified integration's assembly #14822

@davidfowl

Description

@davidfowl

Description

When running aspire sdk dump MyIntegration.csproj --ci, the output includes all capabilities from Aspire.Hosting in addition to the specified integration's capabilities. When a user specifies an integration project, they only want to see their integration's exports — not the entire Aspire.Hosting surface.

Expected Behavior

aspire sdk dump MyIntegration.csproj should only show handle types, DTO types, enums, and capabilities from the MyIntegration assembly.

Actual Behavior

The output includes hundreds of lines from Aspire.Hosting (all core capabilities, handle types, DTOs, enums) with the integration's single capability buried at the very bottom.

Notes

  • This is pre-existing behavior, not a regression
  • The integration project argument is already parsed and available in the command
  • The RPC response includes assembly names on each capability, so filtering is straightforward
  • aspire sdk generate may have a similar issue (generating SDK code for core types alongside the integration)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions