Skip to content
Docs Try Aspire

LaunchProfile Properties

Class Properties 8 members
Represents a launch profile for a ProjectResource.
ApplicationUrl Section titled ApplicationUrl nullable string?
Gets or sets the application URL for the launch profile.
public string? ApplicationUrl { get; set; }
CommandLineArgs Section titled CommandLineArgs nullable string?
Gets or sets the command line arguments for the launch profile.
public string? CommandLineArgs { get; set; }
CommandName Section titled CommandName nullable string?
Gets or sets the name of the launch profile.
public string? CommandName { get; set; }
DotnetRunMessages Section titled DotnetRunMessages nullable bool?
Gets or sets whether the project is configured to emit logs when running with dotnet run.
public bool? DotnetRunMessages { get; set; }
EnvironmentVariables Section titled EnvironmentVariables Dictionary<string, string>
Gets or sets the environment variables for the launch profile.
public Dictionary<string, string> EnvironmentVariables { get; set; }
ExecutablePath Section titled ExecutablePath nullable string?
Gets or sets the executable path for the launch profile.
public string? ExecutablePath { get; set; }
LaunchBrowser Section titled LaunchBrowser nullable bool?
Gets or sets the launch browser flag for the launch profile.
public bool? LaunchBrowser { get; set; }
LaunchUrl Section titled LaunchUrl nullable string?
Gets or sets the launch URL for the launch profile.
public string? LaunchUrl { get; set; }