Closed balachir closed 3 days ago
This looks like the same thing as https://github.com/dotnet/aspire/issues/2172
@joperezr over a month since this was last updated. Is there any action for us on this one?
No real action from us. There are two workarounds that can be used now:
VS_TEMPLATELOCATOR_SDKVERSION
to the 8.0 SDK you have in order to show the right templates.What's the proper fix though? What's the plan to enable creating Aspire 8.0 projects once .NET 9 SDK is installed, especially in VS?
This is actionable. The proper fix is to fix the aspire manifests like described on other threads like the Maui workloads does. The global.json and env var workarounds are not customer friendly and should not be the proposed solution. After this is done, VS will display both net 8 and net 9 versions of the templates.
Thanks @phenning. @joperezr are you the right assignee for this then? We should get this fixed as part of 9.0 preview.4 I guess?
I see, thanks for the clarification @phenning. Yes, the work to allow targeting .NET 8 with 9.0 workloads is planned for 9.0 Preview 4.
This issue is linked from https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/setup-tooling?tabs=visual-studio%2Cunix . It should be updated with the plan for work to allow targeting .NET 8 with 9.0 workloads
. cc @joperezr
No longer relevant.
INSTALL STEPS
REPRO STEPS
Using CLI, create new 8.0 P3 Aspire app 'AspireStarterApp2', and build and run
Install .NET SDK 9.0 Preview 1
ACTUAL Unable to create Aspire Starter Application. The aspire workload is not installed
Workaround
Solution01
, you can see that the SDK in use is now 8.0.200 and project creation will work successfully.EXPECTED Aspire workload should be installed and we can create Aspire Starter Application