Deploying a Solution

With the Microsoft development environment, you can manage and configure several deployment targets. The Deploy Solution command applies to the deploy target that you have set as active. The default active deployment target is the Deploy to My Computer target.

To deploy a solution

  1. Add a new deployment target.

  2. If you are deploying one or more projects, you should confirm that each project has the correct set of project outputs selected for deployment. .

  3. Add any additional files that you want to deploy. For more information, see Adding Projects or Files to the Deployment Target.

  4. On the Project menu, click Deploy Solution.

To deploy a target without changing the active target

  1. Add a deployment target to the solution.

  2. .

  3. Add any additional files that you want to deploy. For more information, see Adding Projects or Files to the Deployment Target.

  4. On the Project menu, point to Deploy, and then select the target. All the projects and files in the deployment target will be deployed.

To deploy the active deployment target when you debug a solution

  1. In the Deployment Explorer, choose the target that you want to be the active deployment target.

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

  3. On the Debug menu, click Start.

Note   You can also deploy the solution without running it by clicking Deploy Solution on the Project menu.