INSTALL STEPS
1.Clean machine: Win11 x64 ENU
2.Install SDK 9.0.202
3. Add dotnet9 feed for 9.2.0-preview.1
4. Install the latest Aspire 9.2.0-preview.1 templates
dotnet new install Aspire.ProjectTemplates::9.2.0-preview.1.25176.8 --force
5. Install aspire.cli tool.
dotnet tool install --global aspire.cli --prerelease --source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json
NOTE
- This issue doesn't reproduce when using this command
dotnet new aspire-starter --use-redis-cache -o Aspire1 the cache in the Aspire Dashboard displayed successfully.
REPRO STEPS
- Open CMD, create a folder using following commands:
mkdir aspireapp1
cd aspireapp1
aspire new
cd aspireapp1.apphost
aspire add
-
Select add redis from the choices or can add redis directly.
aspire add redis
-
Run the project.
aspire run/dotnet run
-
Check the cache project in the Aspire Dashboard.
ACTUAL
There is no cache in the Aspire dashboard that indicates redis package has been included.

EXPECTED
The redis package should be included.

INSTALL STEPS
1.Clean machine: Win11 x64 ENU
2.Install SDK 9.0.202
3. Add dotnet9 feed for 9.2.0-preview.1
4. Install the latest Aspire 9.2.0-preview.1 templates
dotnet new install Aspire.ProjectTemplates::9.2.0-preview.1.25176.8 --force5. Install aspire.cli tool.
dotnet tool install --global aspire.cli --prerelease --source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.jsonNOTE
dotnet new aspire-starter --use-redis-cache -o Aspire1the cache in the Aspire Dashboard displayed successfully.REPRO STEPS
Select add redis from the choices or can add redis directly.
aspire add redisRun the project.
aspire run/dotnet runCheck the cache project in the Aspire Dashboard.
ACTUAL

There is no cache in the Aspire dashboard that indicates redis package has been included.
EXPECTED

The redis package should be included.