You must set a startup project before running. This error has the following causes and solutions:
Make one of the projects a startup project by right clicking the project in the Project Explorer and selecting the Set as Start Up menu item.
Make one of the projects a startup project by right clicking the project in the Project Explorer and selecting the Set as Start Up menu item.