Skip to content

Tools: Honor launchSettings.json #8695

@bricelam

Description

@bricelam

The CLI added support for launchSettings.json in dotnet/cli#6617. Unfortunately, it only works with dotnet run and thus doesn't light up in our tooling.

If we want to honor launchSettings.json (particularly environment variables and command line arguments) in our tools, we'll have to look for and parse the file ourselves.

If we do this, we should also remove our existing logic that defaults the ASPNETCORE_ENVIRONMENT variable to Development.

Metadata

Metadata

Assignees

No one assigned
    No fields configured for Feature.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions