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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
LittleLittleCloud opened this issue May 1, 2025 · 0 comments · May be fixed by #9656
Assignees

Comments

@LittleLittleCloud
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants