it helps just to "pause" the debug (break all) and then hit continue (a.k.a. play :)
Sadly I do not have proper solution.
I'm having this issue with both VS 2019 and VS 2022
Visual Studio 2019 not starting all defined startup projects
I have a Visual Studio 2019 solution which has about 10 projects. Most are libraries, but three of them are WPF applications. I have selected to debug each of the three WPF applications when I run the program. When I press the play button to launch and debug, about 50% of the time I do see the three applications launch. However, the other 50% only one or two of the applications start. I have not been able to narrow down any rhyme or reason yet and could use some help.
Here is what I have noticed.
- the three applications do appear in the task manager
- all the selected start applications appear in the debug->windows->processes
- when I click the break (or pause) button, I can't only double click on the debug->windows->processes process of the apps that appear to have started and display their respective window (WPF app)
- also when in break mode, I do not see any debug->windows->threads for the apps that do not visually appear
very strange! Has anyone else seen this? Any ideas on what I could look for next?
-- Adam
2 answers
Sort by: Newest
-
Mares, Jiri 0 Reputation points
2023-06-01T09:11:34.29+00:00 -
Dylan Zhu-MSFT 6,406 Reputation points
2021-03-12T05:46:03.36+00:00 Hi 46218126,
You can try to delete the .vs folder next to sln file.
If it doesn't work, I'm afraid that you need to repair your visual studio.
Best Regards, Dylan
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our * *documentation* to enable e-mail notifications if you want to receive the related email notification for this thread.**