Skip to content

Add support for specifying a launch profile to dotnet watch run #41988

@DamianEdwards

Description

@DamianEdwards

As part of [EPIC] Revisiting HTTPS defaults in ASP.NET Core

ASP.NET Core projects are being updated to have multiple launch profiles by default. As such, we'd like it to be easier to select a launch profile when running the project using dotnet watch/dotnet watch run.

We propose supporting -lp as an option alias for --launch-profile, e.g.:

$ dotnet watch -lp https

Matching issue for dotnet run: dotnet/sdk#25770

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-commandlinetoolsIncludes: Command line tools, dotnet-dev-certs, dotnet-user-jwts, and OpenAPIenhancementThis issue represents an ask for new feature or an enhancement to an existing onefeature-hot-reloadThis issue is related to the Hot Reload feaature

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions