REGRESSION INFO
- Worked in Aspire 9.3.1
INSTALL STEPS
- Clean machine: Win11 x64 24h2 ENU
- Install VS 17.14.9
- Add dotnet9internalfeed
- Install the latest Aspire 9.4 build from release channel
REPRO STEPS
- Open VS > Create a new project > ASP.NET Core Web App (Razor Pages) > .NET 8.0/9.0 framework > Check 'Enlist in .NET Aspire orchestration' > Aspire version (9.4) > Create
- Add code  .WithReplicas(2)to AppHost.cs file of project and save
- Build and F5
- Check the endpoints of the replicas
ACTUAL
The resource endpoints are duplicated.

EXPECTED
The endpoints should be aligned with the original count.
