Setting the Active (Default) Deployment Target

Your solution can contain any number of deployment targets. You can specify one of the deployment targets as the active (default) deployment target. Whenever you select Start from the Debug menu, or Deploy Solution from the Project menu, the Microsoft development environment automatically deploys the solution using the active deployment target. If the active deployment target is Deploy to My Computer, no deployment occurs after the project is built, and debugging takes place on the local computer.

The active deployment target is displayed in bold in the Deployment Explorer.

To set the active deployment target

  1. In the Deployment Explorer, select the deployment target that you want to set to active.

  2. On the Project menu, click Set as Active.

To turn off automatic deployment

  1. In the Deployment Explorer, select the Deploy to My Computer deployment target.

  2. On the Project menu, click Set as Active.