Skip to content

.Net Aspire project exits debugging when MigrationService project ends #7386

Closed as not planned

Description

@burtonrodman

Type: Bug

in VS Code:

  1. create a .Net Aspire project with AppHost and ServiceDefaults
  2. add reference to several web projects
  3. add reference to a MigrationService project (ala https://learn.microsoft.com/en-us/dotnet/aspire/database/ef-core-migrations)
  4. start debugging Aspire project

all apps start, but when the MigrationService project exits, the AppHost also exits, ending the debug session.

Extension version: 2.39.29
VS Code version: Code 1.91.1 (f1e16e1e6214d7c44d078b1f0607b2388f29d729, 2024-07-09T22:06:49.809Z)
OS version: Windows_NT x64 10.0.22635
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i9-10885H CPU @ 2.40GHz (16 x 2400)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 31.75GB (7.17GB free)
Process Argv . --crash-reporter-id 1a93c41b-7666-47c2-a630-9537bdc67cc3
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
g316j359:31013175
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupyter:31046869
impr_priority:31102340
refactort:31101459
pythonrstrctxtcf:31093870
wkspc-onlycs-c:31102393

Activity

  1. burtonrodman commented on Jul 24, 2024

    @burtonrodman
    Author

    commenting out the MigrationService project in AppHost/Program.cs prevents the debug session from ending.

  2. WardenGnaw commented on Jul 24, 2024

    @WardenGnaw
    Contributor

    This is a duplicate of microsoft/vscode-dotnettools#1196.

    Thanks for the report and we will have a fix for this in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions