From 04ec99823c6f257ace2dcd992169f4ab948d1441 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 2 Jun 2026 02:38:53 +0000 Subject: [PATCH 1/2] Initial plan From 7afb0793ab002db35503444754b825c5a80f1d2c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 2 Jun 2026 02:42:48 +0000 Subject: [PATCH 2/2] Clarify Aspire template install guidance and .NET fallback Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com> --- .../docs/get-started/aspire-sdk-templates.mdx | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/frontend/src/content/docs/get-started/aspire-sdk-templates.mdx b/src/frontend/src/content/docs/get-started/aspire-sdk-templates.mdx index df3e20444..b9e49ae24 100644 --- a/src/frontend/src/content/docs/get-started/aspire-sdk-templates.mdx +++ b/src/frontend/src/content/docs/get-started/aspire-sdk-templates.mdx @@ -67,16 +67,24 @@ The following Aspire project templates are available: The service defaults project template takes a `FrameworkReference` dependency on `Microsoft.AspNetCore.App`. This may not be ideal for some project types. For more information, see [Aspire service defaults](/get-started/csharp-service-defaults/). ::: -## Install the Aspire templates +## Install templates with Aspire CLI (recommended) -The Aspire templates are included with the Aspire workload. To install the templates, run the following command: +Use `aspire new` to create a project or solution. The Aspire CLI ensures the required templates are installed automatically. + +```bash title="Aspire CLI" +aspire new aspire-starter +``` + +### Install the .NET project templates (dotnet fallback) + +If you need to install templates directly into `dotnet`, install the [📦 Aspire.ProjectTemplates](https://www.nuget.org/packages/Aspire.ProjectTemplates) package with the following command: ```bash title=".NET CLI" dotnet new install Aspire.ProjectTemplates ``` :::tip -To install a specific version of the Aspire templates, use the `::{version}` syntax. For example, to install version 13.1.0, run the following command: +To install a specific version of the .NET templates, use the `::{version}` syntax. For example, to install version 13.1.0, run the following command: ```bash title=".NET CLI" dotnet new install Aspire.ProjectTemplates::13.1.0