Core library and MSBuild logic for Aspire AppHost projects.
$ dotnet add package Aspire.Hosting.AppHostProvides the core APIs and MSBuild logic for .NET Aspire AppHost projects.
In your project, install the .NET Aspire AppHost library with NuGet:
dotnet add package Aspire.Hosting.AppHost
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();
https://learn.microsoft.com/dotnet/aspire/