Aspire.Hosting.AppHost 13.5.2

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 9.0

.NET 8.0

Version Downloads Last updated
13.5.2 2 22.08.2026
13.5.1 2 22.08.2026
13.5.0 1 23.08.2026
13.4.6 4 30.06.2026
13.4.5 5 19.06.2026
13.4.4 4 19.06.2026
13.4.3 4 14.06.2026
13.4.2 4 04.06.2026
13.4.1 5 04.06.2026
13.4.0 6 04.06.2026
13.3.5 5 26.05.2026
13.3.4 4 26.05.2026
13.3.3 5 17.05.2026
13.3.2 3 17.05.2026
13.3.1 3 17.05.2026
13.3.0 4 11.05.2026
13.2.4 7 28.04.2026
13.2.3 5 28.04.2026
13.2.2 5 11.04.2026
13.2.1 5 31.03.2026
13.2.0 6 31.03.2026
13.1.3 5 23.03.2026
13.1.2 5 01.03.2026
13.1.1 5 21.02.2026
13.1.0 6 15.01.2026
13.0.2 6 10.12.2025
13.0.1 6 10.12.2025
13.0.0 5 12.12.2025
9.5.2 6 15.01.2026
9.5.1 9 10.11.2025
9.5.0 8 27.09.2025
9.4.2 10 04.09.2025
9.4.1 9 04.09.2025
9.4.0 9 04.09.2025
9.3.1 9 10.07.2025
9.3.0 10 03.06.2025
9.2.1 11 03.06.2025
9.2.0 11 03.06.2025
9.1.0 12 03.06.2025
9.0.0 12 28.04.2025
9.0.0-rc.1.24511.1 7 10.07.2025
8.2.2 11 03.06.2025
8.2.1 12 03.06.2025
8.2.0 11 03.06.2025
8.1.0 11 03.06.2025
8.0.2 11 03.06.2025
8.0.1 12 29.04.2025
8.0.0 12 03.06.2025
8.0.0-preview.7.24251.11 7 10.07.2025
8.0.0-preview.6.24214.1 6 04.06.2025
8.0.0-preview.5.24201.12 7 10.07.2025