Skip to content

Single-file apphost.cs template in aspire new produces apphost.cs that doesn't work with dotnet run #15986

@DamianEdwards

Description

@DamianEdwards

Running aspire new and selecting the single-file apphost C# option produces an apphost.cs that you can't run with dotnet run apphost.cs because the apphost.run.json file was replaced with aspire.config.json. The apphost requires environment variables set by the launch profile and when using dotnet run apphost.cs those launch profiles exist in apphost.run.json.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions