Skip to content

[Update article]: Aspire orchestration overview - implicit AppHost SDK & package references #5316

@DamianEdwards

Description

@DamianEdwards

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


Associated WorkItem - 500335

Metadata

Metadata

Assignees

Labels

📌 seQUESTeredIdentifies that an issue has been imported into Quest.Pri1High priority, do before Pri2 and Pri3area-docsdoc-ideaIndicates issues that are suggestions for new topics [org][type][category]

Type

Projects

Status

🔖 Ready

Relationships

None yet

Development

No branches or pull requests

Issue actions