Aspire.Hosting.AppHost 13.4.5

Aspire.Hosting.AppHost library

Provides the core APIs and MSBuild logic for Aspire AppHost projects.

Getting started

Install the package

In your project, install the Aspire AppHost library with NuGet:

dotnet add package Aspire.Hosting.AppHost

Usage example

Then, in the AppHost.cs file of AppHost, add project, container, and executable resources:

var builder = DistributedApplication.CreateBuilder(args);

// The Projects.MyApp type is generated by custom MSBuild targets added
// by the Aspire.Hosting.AppHost package when the MyApp project is added
// as a project reference.
var app = builder.AddProject<Projects.MyApp>("myapp");

builder.Build().Run();

Additional documentation

https://aspire.dev/

Feedback & contributing

https://github.com/microsoft/aspire

No packages depend on Aspire.Hosting.AppHost.

.NET 8.0

.NET 10.0

.NET 9.0

Version Downloads Last updated
13.5.3 3 09/07/2026
13.5.2 0 08/21/2026
13.5.1 2 09/08/2026
13.5.0 0 08/18/2026
13.4.6 2 09/08/2026
13.4.5 2 09/08/2026
13.4.4 2 09/08/2026
13.4.3 0 06/08/2026
13.4.2 2 09/08/2026
13.4.1 0 06/03/2026
13.4.0 2 09/08/2026
13.3.5 2 09/08/2026
13.3.4 2 09/08/2026
13.3.3 2 09/08/2026
13.3.2 1 09/08/2026
13.3.1 2 09/08/2026
13.3.0 0 05/07/2026
13.2.4 1 09/08/2026
13.2.3 2 09/08/2026
13.2.2 0 04/08/2026
13.2.1 2 09/08/2026
13.2.0 0 03/23/2026
13.1.3 0 03/19/2026
13.1.2 2 09/08/2026
13.1.1 0 02/11/2026
13.1.0 2 09/08/2026
13.0.2 0 12/04/2025
13.0.1 2 09/08/2026
13.0.0 2 09/08/2026
9.5.2 0 10/23/2025
9.5.1 0 10/03/2025
9.5.0 2 09/08/2026
9.4.2 0 09/02/2025
9.4.1 0 08/12/2025
9.4.0 2 09/08/2026
9.3.1 0 06/10/2025
9.3.0 1 09/08/2026
9.2.1 0 04/24/2025
9.2.0 2 09/08/2026
9.1.0 2 09/08/2026
9.0.0 0 11/12/2024
9.0.0-rc.1.24511.1 2 09/08/2026
8.2.2 2 09/08/2026
8.2.1 2 09/08/2026
8.2.0 2 09/08/2026
8.1.0 1 09/08/2026
8.0.2 2 09/08/2026
8.0.1 0 05/21/2024
8.0.0 2 09/08/2026
8.0.0-preview.7.24251.11 0 05/07/2024
8.0.0-preview.6.24214.1 2 09/08/2026
8.0.0-preview.5.24201.12 0 04/09/2024