[AzureTools][Aspire] No log output in the "Console logs" window for Worker Service project with a breakpoint if you first click "Continue" and then open the project's "Console logs" window of the dashboard #4820
Regression: Not a regression, this issue also reproduces on VS 17.12.0 Preview 1.0 [35108.222.main] with Aspire 8.0.0
Clean machine: Win11 x64 23h2 ENU
VS Version: VS 17.12.0 Preview 1.0 [35108.222.main]
Aspire Version: 8.1.0-preview.1.24353.12
Apply NuGet Feeds
REPRO STEPS:
Create a new Worker Service project -> Add -> .NET Aspire orchestrator support.
Set a breakpoint in Worker.cs file -> F5.
The breakpoint is hit, click "Continue" -> Click "Continue" several times.
Click "View" of the project under the "Logs" in the Dashboard.
Check whether there is logging output in the "Console logs" window.
Expect:
There is logging output in the "Console logs" window.
Actual:
No log output in the "Console logs" window.
More Info:
There is logging output in the "Console logs" window if you first open the project's "Console logs" window of the dashboard and then click "Continue".
Regression: Not a regression, this issue also reproduces on VS 17.12.0 Preview 1.0 [35108.222.main] with Aspire 8.0.0
Clean machine: Win11 x64 23h2 ENU VS Version: VS 17.12.0 Preview 1.0 [35108.222.main] Aspire Version: 8.1.0-preview.1.24353.12 Apply NuGet Feeds
REPRO STEPS:
Expect: There is logging output in the "Console logs" window.
Actual: No log output in the "Console logs" window.
More Info: There is logging output in the "Console logs" window if you first open the project's "Console logs" window of the dashboard and then click "Continue".