<p>Let's say that there is a solution that contains two projects (Project1 and Project2).</p>

<p>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.</p>

<p>I tried to find an option in configuration to change it, but I found none.</p>

<p>Can this feature (though it's more like a bug to me) be disabled?</p>

[{'answer_id': 4443, 'author': 'Lea Cohen', 'author_id': 278, 'author_profile': 'https://Stackoverflow.com/users/278', 'pm_score': 5, 'selected': True, 'text': '<p>The way to select a startup project is described in <a href="http://blogs.msdn.com/saraford/default.aspx" rel="noreferrer">Sara Ford\'s blog "Visual Studio Tip of the Day</a>" (highly recommended). She has a post there about <a href="http://blogs.msdn.com/saraford/archive/2008/07/29/did-you-know-how-to-select-the-startup-project-269.aspx" rel="noreferrer">setting up StartUp projects</a>. 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. </p>\n'}, {'answer_id': 8884, 'author': 'kokos', 'author_id': 1065, 'author_profile': 'https://Stackoverflow.com/users/1065', 'pm_score': 3, 'selected': False, 'text': '<p>Check your Visual Studio options for the following check box:<br>\nProjects and Solutions - Build and Run - For new solutions use the currently selected project as the startup project.  </p>\n\n<p>Uncheck that and see if the behavior changes.</p>\n'}, {'answer_id': 5226596, 'author': 'ShawnFeatherly', 'author_id': 228738, 'author_profile': 'https://Stackoverflow.com/users/228738', 'pm_score': 0, 'selected': False, 'text': '<p>I ran into a bug where the project in bold would not be the startup project despite it being selected in the solution properties as the "single startup project".</p>\n\n<p>One work around for this bug was un-checking deploy, from the Configuration Manager, for the non-bold project that was being incorrectly used as the startup project. The configuration manager is found by right clicking the solution in the Solution Explorer.</p>\n'}]
['https://Stackoverflow.com/questions/4434', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/95/']