Skip to content

In hotreload, the project is launched with the current active profile instead of the one it got launched when there's rude edit #9657

@LittleLittleCloud

Description

@LittleLittleCloud

Visual Studio Version

main

Summary

In Hotreload, the debugger will try to restart the project when there is rude edit.

However, when restarting project, it was restarted using the current active profile instead of the one that it got launched in previous debug session, which is unexpected when user switches profiles sometime between the last debug session and apply hotreload with rude edit

Steps to Reproduce

  1. create an console app with two profiles (profile A and profile B)
  2. start app with profile A, making some rude edits
  3. switch to profile B
  4. apply hotreload restart
  5. the console app is started with profile B instead of A

Expected Behavior

console app restarted with profile A

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions