When we open a project/solution in Visual studio, the project's vshost.exe file will be executed and launched in memory automatically (I think this is done by Visual studio) and this process (vshost.exe) will be in running state till we close the solution from VS.
I know that this process has been introduced from VS2005 onwards to aid the debugging performance.
Our application will be launched from this process when we run through F5 but if we run through ctrl+F5 then our app runs isolated (without vshost.exe). But still vshost.exe will be parellely running along side of our project exe. Eventhough this time not required in real sense. Hence we are loosing some memory (thousand KBs) unnecessary.
Finally, my question is, is there anyway/setting in VS to halt running of vshost.exe until F5 is pressed. Because why I'm asking this is: let's say that I opened a solution in VS and I just want to run without debugging, then obviously I will hit ctrl+F5. Then, in this case I dont need vshost.exe to be running in background.
I hope question was clear but if you get any queries or confusion please let me know.
Thanks...