Aspire.Hosting.AppHost 13.2.0

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/dotnet/aspire

No packages depend on Aspire.Hosting.AppHost.

.NET 8.0

.NET 10.0

.NET 9.0

Version Downloads Last updated
13.2.3 0 4/21/2026
13.2.2 1 4/11/2026
13.2.1 1 4/11/2026
13.2.0 1 4/11/2026
13.1.3 1 4/11/2026
13.1.2 2 3/4/2026
13.1.1 2 2/13/2026
13.1.0 5 1/20/2026
13.0.2 5 12/17/2025
13.0.1 5 11/30/2025
13.0.0 10 11/26/2025
9.5.2 10 11/24/2025
9.5.1 10 10/21/2025
9.5.0 14 9/29/2025
9.4.2 10 11/23/2025
9.4.1 13 8/15/2025
9.4.0 15 8/16/2025
9.3.1 17 6/28/2025
9.3.0 15 6/28/2025
9.2.1 11 6/28/2025
9.2.0 13 6/24/2025
9.1.0 19 3/5/2025
9.0.0 18 3/5/2025
9.0.0-rc.1.24511.1 16 3/6/2025
8.2.2 14 3/5/2025
8.2.1 12 3/5/2025
8.2.0 13 3/5/2025
8.1.0 139 9/3/2024
8.0.2 16 3/5/2025
8.0.1 14 3/5/2025
8.0.0 17 3/5/2025
8.0.0-preview.7.24251.11 12 3/6/2025
8.0.0-preview.6.24214.1 13 3/6/2025
8.0.0-preview.5.24201.12 22 3/6/2025