Skip to content

[WebToolsE2E] With VS 17.10 P1 installed (including Aspire 8.0 P3), if we then install .NET SDK 9.0 P1, VS does not show the Aspire templates anymore #2186

Closed as not planned
@balachir

Description

@balachir

REPRO STEPS

  1. Clean machine: Win11 x64 23h2 ENU
  2. Install VS 17.10 Preview 1 (includes .NET SDK 8.0.200 and .NET Aspire workload 8.0 Preview 3)
  3. Open VS, create new solution using 'Aspire Starter Application' template, build and run using VS -- it works fine
  4. Close VS
  5. Install .NET SDK 9.0 Preview 1
  6. Open VS

ACTUAL
During project creation,

  • The 'Aspire Starter Application' and other aspire templates don't show up in VS New project dialog anymore
    image
  • When creating a new web app or api app, the 'Enlist in Aspire' checkbox does not show up in New Project dialog
    image

If you go to command-line and run dotnet --info, it incorrectly shows that the 9.0 Aspire workload is installed, even though I didn't run any commands to install the 9.0 Aspire workload.

image

image

EXPECTED
During project creation,

  • VS should continue to show the 8.0 Aspire templates
  • When creating a new web app or api app, the 'Enlist in Aspire' checkbox should show up in New Project dialog

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions