Skip to content

Typescript application host does not apply Aspire configuration provided via environment variables #16443

@karolz-ms

Description

@karolz-ms

Repro steps

  1. aspire new -- select "Express/React starter app", create using defaults
  2. Copy ~/.aspire/dcp folder to some other folder, e.g. ~/mydcp.
  3. DcpPublisher__CliPath="~/mydcp/dcp" aspire run Note: the environment variable uses double-underscore separator, per .NET configuration conventions.
  4. Verify which copy of dcp was used to run the application.

Expected

The run should use ~/mydcp/dcp

Actual

The run uses the default ~/.aspire/dcp

Additional remarks

This does NOT happen if the application uses ASP.NET Core/Blazor template, indicating this is most likely a problem with TypeScript application host.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-polyglotIssues related to polyglot apphosts

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions