Aspire.Hosting.AppHost 13.4.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 8.0

.NET 9.0

.NET 10.0

Version Downloads Last updated
13.4.4 1 6/15/2026
13.4.3 12 6/9/2026
13.4.2 13 6/4/2026
13.4.1 10 6/4/2026
13.4.0 12 6/3/2026
13.3.5 17 5/22/2026
13.3.4 16 5/22/2026
13.3.3 16 5/15/2026
13.3.2 16 5/15/2026
13.3.1 17 5/15/2026
13.3.0 24 5/9/2026
13.2.4 20 5/4/2026
13.2.3 20 5/4/2026
13.2.2 21 5/4/2026
13.2.1 20 5/4/2026
13.2.0 20 5/4/2026
13.1.3 20 3/20/2026
13.1.2 24 2/28/2026
13.1.1 20 2/15/2026
13.1.0 33 12/17/2025
13.0.2 34 12/12/2025
13.0.1 39 12/12/2025
13.0.0 32 12/12/2025
9.5.2 30 12/12/2025
9.5.1 31 12/12/2025
9.5.0 31 12/12/2025
9.4.2 33 12/12/2025
9.4.1 27 12/12/2025
9.4.0 35 12/12/2025
9.3.1 24 12/12/2025
9.3.0 26 12/12/2025
9.2.1 31 12/12/2025
9.2.0 30 12/12/2025
9.1.0 30 12/12/2025
9.0.0 32 12/10/2025
9.0.0-rc.1.24511.1 31 12/12/2025
9.0.0-preview.3.24210.17 28 1/4/2026
8.2.2 31 12/12/2025
8.2.1 26 12/12/2025
8.2.0 26 12/12/2025
8.1.0 32 12/12/2025
8.0.2 34 12/12/2025
8.0.1 28 12/12/2025
8.0.0 31 12/12/2025
8.0.0-preview.7.24251.11 33 12/12/2025
8.0.0-preview.6.24214.1 28 12/12/2025
8.0.0-preview.5.24201.12 33 12/12/2025