.NET Aspire workload not showing in Visual Studio Installer

3k Views Asked by At

I am trying to install .Net Aspire, but it's now showing in the Visual Studio Installer, Ideally it should show like the below.

enter image description here

I am following this document. I have done the following steps as mentioned in the document.

  1. Open the Visual Studio installer.
  2. Select Modify next to Visual Studio 2022.
  3. Select the ASP.NET and web development workload.

I have Visual Studio 17.8 installed, but in the document, it is mentioned that it requires version 17.9 or higher (Optional), But it is Optional.

Do I need to install the Visual Studio Preview version?

enter image description here

3

There are 3 best solutions below

9
SiddheshDesai On

Even I was not able to Install .Net Aspire SDK in Visual Studio Community 2022 17.7.5 enter image description here

According to this Blog- Microsoft releases .NET 8 with preview of Aspire cloud-ready stack to 'simplify cloud app complexity' • DEVCLASS > The Full tooling of .Net Aspire is available in Visual Studio 2022 Preview - 17.9.0 Preview 1.0

I upgraded my existing Visual Studio 2022 Preview IDE to 17.9.0 Preview 1.0 and the .Net Aspire SDK (Preview) was visible and got installed successfully Refer below:-

enter image description here

Also, For .Net 8 development, I recommend using Visual Studio 2022 Preview version.

enter image description here

You can also install the Aspire SDK via .net CLI as an alternative as mentioned in the same MS Document.

dotnet workload install aspire
2
StasD2000 On

Try reinstall NET8.SDK and run command:

dotnet workload install aspire
0
Gakis41 On

I had the same issue, what you need to do is go to Visual Studio Installer un-check in the Individual Components the .NET 8 ( might be shown as .NET Runtime) enter image description here
then hit the Modify button. This will completely uninstall .NET 8 SDK. Then all you have to do is download the .NET 8 SDK msi (installer), install it and then reopen a Windows terminal session. Now you can run dotnet workload update and then dotnet workload install aspire

enter image description here