Can I configure Visual Studio NOT to change StartUp Project every time I open a file from one of the projects?

Question :

Can I configure Visual Studio NOT to change StartUp Project every time I open a file from one of the projects?,

Answer :

Let’s say that there is a solution that contains two projects (Project1 and Project2).

Project1 is set as a StartUp Project (its name is displayed in a bold font). I double-click some file in Project2 to open it. The file opens, but something else happens too – Project2 gets set as a StartUp Project.

I tried to find an option in configuration to change it, but I found none.

Read More  Install Visual Studio 2008 Sp1 on “D” Drive

Can this feature (though it’s more like a bug to me) be disabled?

,

The way to select a startup project is described in  (highly recommended). She has a post there about  Essentially there are 2 ways, the easiest one being right-clicking on the desired project, and choosing “Set As StartUp Project”. That prevents other projects from becoming the StartUp project, even if you click on one their files.

That’s the answer Can I configure Visual Studio NOT to change StartUp Project every time I open a file from one of the projects?, Hope this helps those looking for an answer. Then we suggest to do a search for the next question and find the answer only on our site.

Read More  Do you name controls on forms using the same convention as a private variable?

Disclaimer :

The answers provided above are only to be used to guide the learning process. The questions above are open-ended questions, meaning that many answers are not fixed as above. I hope this article can be useful, Thank you