You can also turn on the Visual Studio setting under Tools-->Options-->Projects-->Build and Run-->Only build startup projects and dependencies on run.
Only build startup projects and dependencies on Run
When selected, pressing F5 or clicking Start on the Debug menu or Build on the Build menu only builds the startup project and its dependencies. When this option is cleared, pressing F5 builds all projects, dependencies, and solution files. By default, this option is cleared.