Edit

Share via


Compiler Warning ASPIRE002

Version introduced: 8.0.0

'Project' is an Aspire AppHost project but necessary dependencies aren't present. Are you missing an Aspire.Hosting.AppHost PackageReference?

This diagnostic warning is reported when your project is missing reference to the .NET Aspire App Host.

To correct this warning

Add reference to the 📦 Aspire.Hosting.AppHost NuGet package. For more information about the app host, see .NET Aspire orchestration overview.