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
-
Add a new deployment target.
-
If you are deploying one or more projects, you should confirm that each project has the correct set of project outputs selected for deployment. Specify the project outputs for deployment.
-
Add any additional files that you want to deploy. For more information, see Adding Projects or Files to the Deployment Target.
-
On the Project menu, click Deploy Solution.
To deploy a target without changing the active target
-
Add a deployment target to the solution.
-
Specify the project outputs for deployment.
-
Add any additional files that you want to deploy. For more information, see Adding Projects or Files to the Deployment Target.
-
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
-
In the Deployment Explorer, choose the target that you want to be the active deployment target.
-
On the Project menu, click Set as Active.
-
On the Debug menu, click Start.
Note You can also deploy the solution without running it by clicking Deploy Solution on the Project menu.