Skip to content

Automatically install .NET SDK when using Aspire CLI #10617

@mitchdenny

Description

@mitchdenny

Currently, users must manually install the appropriate .NET SDK to use the Aspire CLI effectively. This can cause onboarding friction, especially for new users or those who are unaware of the required SDK version.

Proposal:

Enhance the Aspire CLI to detect when the required .NET SDK is missing and either:

Prompt the user to install it automatically, or
Offer to download and install the correct SDK version directly through the CLI.
This would streamline the setup process and improve the overall developer experience.

Benefits:

  • Faster onboarding for new users
  • Reduces errors caused by SDK version mismatches
  • Makes Aspire CLI more user-friendly and accessible

Additional Context:

Are there technical or security considerations for downloading and installing SDKs programmatically from the CLI? Feedback and suggestions welcome.

Metadata

Metadata

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions