Skip to content

Commit 9b2072e

Browse files
CopilotdavidfowlIEvangelist
authored
Add tip about using --force flag for .NET Aspire project templates installation (#4523)
* Initial plan * Add tip about using --force flag for .NET Aspire project templates Co-authored-by: davidfowl <[email protected]> * Change code block syntax in upgrade guide Updated code block syntax for installing Aspire project templates. * Update release date for Aspire 9.4.2 documentation --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: davidfowl <[email protected]> Co-authored-by: David Pine <[email protected]>
1 parent eb234a4 commit 9b2072e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/get-started/upgrade-to-aspire-9.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Upgrade to .NET Aspire 9.4.2
33
description: Learn how to upgrade all your .NET Aspire projects to .NET Aspire 9.4.2.
4-
ms.date: 06/02/2025
4+
ms.date: 09/09/2025
55
zone_pivot_groups: dev-environment
66
---
77

@@ -31,10 +31,13 @@ Before you can use .NET Aspire 9 or later versions, you need to upgrade your too
3131

3232
If you have removed, or never had, the **aspire workload**, you can install the latest .NET Aspire project templates by running this command:
3333

34-
```PowerShell
34+
```dotnetcli
3535
dotnet new install Aspire.ProjectTemplates
3636
```
3737

38+
> [!TIP]
39+
> If you already have the .NET Aspire workload installed, you need to pass the `--force` flag to overwrite the existing templates. For instructions on uninstalling the workload, see [Remove the .NET Aspire workload (first-time upgrades from version 8 only)](#remove-the-net-aspire-workload-first-time-upgrades-from-version-8-only).
40+
3841
## Manually upgrade a solution to .NET Aspire 9.4.2
3942

4043
To upgrade your projects to .NET Aspire 9.4.2, you need to update your project files. The following steps guide you through the process:

0 commit comments

Comments
 (0)