Debugging Multi-Project Solutions

When debugging multi-project solutions, Visual Studio starts debugging using the debug properties of the StartUp project in the solution. The StartUp project is defined in the properties of the solution and is highlighted in Solution Explorer.

As the StartUp project may not be the project that you are currently working on, to specify the project whose properties the IDE should use when debugging, you need to do either one of the following: