-
Notifications
You must be signed in to change notification settings - Fork 168
Description
Proposed topic or title
Update the "AppHost project" section (see details below)
Location in table of contents.
AppHost/Overview
Reason for the article
In 13.0 the Aspire.AppHost.Sdk now supports being set as the sole project SDK. It will also implicitly add a package reference to the Aspire.Hosting.AppHost package with the version matching the SDK version if a reference isn't explicitly defined.
Article abstract
Ensure the "AppHost project" section is updated to show that in 13.0 the templates will now set the AppHost project SDK directly to the Aspire.AppHost.Sdk and not explicitly add a package reference for Aspire.Hosting.AppHost as the SDK will do that now, e.g.:
<Project Sdk="Aspire.AppHost.Sdk/13.0.0">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<!-- Omitted for brevity -->
</PropertyGroup>
<!-- Omitted for brevity -->
</Project>The alternative approach of explicitly listing the <Sdk /> and <PackageReference /> elements still works and it's not a requirement that projects be changed to use the new format.
Relevant searches
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status