1

I have a VS2022 solution with quite a few projects. And I have several launch profiles where some projects are started without debugging. Those projects continue to run when I stop the solution - all the projects that were started with debugging do stop.

Some modifications in the code require all projects to be stopped even if the running projects are not directly affected. Individually closing each project every time is tedious and not efficient.

Is there any configuration that allows me to automatically close those too - or at least with something as simple as pressing a single button?

Update I have looked for existing Developer Community requests but found none, so I started one. Please click and upvote. If it turns out that it is a duplicate, I will change the link. https://developercommunity.visualstudio.com/t/Add-Feature-to-Visual-Studio-to-stop-pro/10825635

3
  • Kind of old - but I think it holds true still stackoverflow.com/questions/16845156/… Basically you are spawning up a separate process that Visual Studio isn't aware of, so I don't think it can be stopped from it, and therefore, there isn't an easy way. Perhaps maybe you can make some sort of batch of python script to find these processes and terminate them instead, and you can just execute said script when you need to. Commented Jan 8 at 13:58
  • Yes, I hoped that there would be a solution by now. I can't believe that VS "isn't aware" of something it starts on its behalf. It doesn't not keep track... :( Commented Jan 8 at 15:07
  • Looks like no such built-in feature to achieve it for now. I would suggest you can also raise a feature request at Developer Community.That will allow you to directly interact with the appropriate product group, and make it more convenient for the product group to collect and categorize your suggestions. Commented Jan 9 at 6:13

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.