Run Configuration
The plugin provides a special run configuration for the .NET Aspire Host projects. It discovers such projects by the <IsAspireHost>true</IsAspireHost>
MSBuild property. For each launchSettings.json
profile of this project, the corresponding launch configuration will be generated.
- Project
.NET Aspire host project (defined by the
IsAspireHost
property).- Profile
A profile name from the
launchSettings.json
file. After changing the profile, theEnvironment Variables
andURL
fields will be updated accordingly.- Environment variables
List of environment variables. The list is defined by the
environmentVariables
property from thelaunchSettings.json
file.- URL
URL that will be opened after a successful launch. By default, this value is filled with the
applicationUrl
property from thelaunchSettings.json
file.
This run configuration allows you to run or debug multiple projects registered in the Host project.
A separate node will also be created in the Services tool window. It allows you to monitor resources while Aspire Host is running. For example, you can find resource properties, endpoints, environment variables, and read logs there. In addition, the resource tree provides OpenTelemetry information if this feature is enabled.