title: How to programmatically start the second project from the "StartUp" project in the same C# solution?
body: <p>I have C# VS 2012 solution with two projects: ProjectA and ProjectB. Both projects are console applications for the sake of simplicity. </p>
  
  <p>ProjectA needs to be started first so it is set as the "Startup project" for the solution. When I run ProjectA with F5 under debugger there are some operations it needs to performs after which it should start ProjectB <strong>under the same debugger</strong>. So if I set breakpoint in ProjectB first line, debugger should break.</p>
  
  <p>Is there any way I can do this? Currently I use Process.Start("path_to_projectB.exe") but that needs to be replaced with something like "Process.StartUnderSameDebugger("path_to_projectB.exe")". I want to use the same instance of VS debugger that started ProjectA for ProjectB.</p>
  
  <p>Note that I don't want to use "Start multiple projects" option in Visual Studio. If I do this both console apps are started simultaneously (which is unwanted) and under the same debugger (which is wanted). First process must perform some stuff before it can start second process and that's why I can't use this approach.</p>
  
  <p>Also when I later stop debugger both processes (console apps from ProjectA and ProjectB) should be closed.</p>