Aspire.Hosting.AppHost 13.6.4

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 10.0

.NET 8.0

.NET 9.0

Version Downloads Last updated
13.6.4 10 10/24/2026
13.6.3 11 10/21/2026
13.6.2 15 10/20/2026
13.6.1 18 10/07/2026
13.6.0 15 09/30/2026
13.5.4 21 09/17/2026
13.5.3 20 08/26/2026
13.5.2 25 08/22/2026
13.5.1 26 08/22/2026
13.5.0 23 08/19/2026
13.4.6 24 06/21/2026
13.4.5 24 06/17/2026
13.4.4 23 06/17/2026
13.4.3 29 06/10/2026
13.4.2 26 06/06/2026
13.4.1 24 06/06/2026
13.4.0 35 06/02/2026
13.3.5 27 05/23/2026
13.3.4 28 05/23/2026
13.3.3 31 05/17/2026
13.3.2 31 05/16/2026
13.3.1 30 05/15/2026
13.3.0 33 05/08/2026
13.2.4 38 04/27/2026
13.2.3 34 04/22/2026
13.2.2 47 04/11/2026
13.2.1 37 04/04/2026
13.2.0 33 03/24/2026
13.1.3 50 03/23/2026
13.1.2 37 02/27/2026
13.1.1 36 02/12/2026
13.1.0 49 12/18/2025
13.0.2 38 12/11/2025
13.0.1 4 10/07/2026
13.0.0 50 12/20/2025
9.5.2 36 12/11/2025
9.5.1 3 10/10/2026
9.5.0 4 10/06/2026
9.4.2 6 10/07/2026
9.4.1 30 12/11/2025
9.4.0 35 12/19/2025
9.3.1 3 10/10/2026
9.3.0 33 12/11/2025
9.2.1 33 12/18/2025
9.2.0 28 12/12/2025
9.1.0 37 12/14/2025
9.0.0 5 10/06/2026
9.0.0-rc.1.24511.1 5 10/06/2026
8.2.2 37 12/11/2025
8.2.1 30 12/11/2025
8.2.0 30 12/25/2025
8.1.0 36 12/12/2025
8.0.2 41 12/14/2025
8.0.1 33 12/11/2025
8.0.0 30 12/11/2025
8.0.0-preview.7.24251.11 33 12/11/2025
8.0.0-preview.6.24214.1 6 09/30/2026
8.0.0-preview.5.24201.12 8 10/06/2026