I set ProjectX as a startup project. Whenever I work on files in other project (e.g. ProjectY), it will set ProjectY as startup project instead.
- Visual Studio –> Tools –> Options –> Projects and Solutions –> Build and Run
- Clear the checkbox for “For new solutions use the currently selected project as the startup project.”