This is my second post, so please be patient …
I’m developing with Visual Studio 2022 and have problems reaching a server (local or remote) when debugging my code. I think I have this behavoiur since leaving Version 17.9.0 for higher versions.
Right now I’m writing a small app to test working with RabbitMQ.
Situation:
- Changing the code in some way
- Pressing “the green arrow with the project name” to compile the exe and start the debug session
- The app starts, but the servers (local and/or remote) are not reachable, the RabbitMQ connection gives me a “None of the specified endpoints were reachable”.
- Closing the app
- Starting it again with the green arrow -> Everything is fine!
- Closing the app
- Changing anything in the code and starting the debug again -> starting over with Step 3
My Workaround until now:
Doing steps 1 to 5 from the list above
or pressing STRG + B to build the exe and THEN starting debug with the green arrow
Additional Information: If I only use STRG + B and start the exe by hand, everything is fine, too.
Can anyone help me? Did I something wrong? I did not find any hint on a bug in Visual Studio since 17.9.0 in that direction.