Upgrade Aspire
このコンテンツはまだ日本語訳がありません。
Upgrading Aspire involves updating the Aspire CLI itself, the Aspire SDK, and all related packages in your solution. The aspire update command handles most of this for you, but you may also need to review breaking changes and update tooling extensions.
Upgrade with the Aspire CLI
Section titled “Upgrade with the Aspire CLI”-
Update the Aspire CLI to the latest version:
Update the Aspire CLI aspire update --self -
Update your Aspire solution by running:
Update your Aspire solution aspire updateThis command automatically:
- Updates the
Aspire.AppHost.Sdkversion - Updates all Aspire NuGet packages to the latest version
- Supports both regular projects and Central Package Management (CPM)
- Updates the
For more information, see aspire update command reference.
Update the VS Code extension (optional)
Section titled “Update the VS Code extension (optional)”If you have the Aspire extension installed, you can update it to get the latest tooling support:
- Open VS Code
- Go to Extensions (
Command + Shift + X CmdShiftX Control + Shift + X CtrlShiftX Control + Shift + X CtrlShiftX ) - Search for Aspire
- Click Update if an update is available
For more information, see Aspire extension for VS Code.
Remove the legacy workload (Aspire 8 only)
Section titled “Remove the legacy workload (Aspire 8 only)”Still rocking the Aspire workload? No judgment here—we’ve all been there. 🕰️ Time to let it go and join us in the future!
Please remove the aspire workload with the following command:
dotnet workload uninstall aspireVerify the upgrade
Section titled “Verify the upgrade”After upgrading, run your application to ensure everything works as expected:
aspire runNeed help?
Section titled “Need help?”- 🆘 Stuck? Join the Discord community for real-time support
- 🐛 Found a bug? File a GitHub issue