I have a solution with 5 projects, I need to know if there's a way to right click on the solution, and have a deployment order for the projects inside, instead of deploying each one individually. Is there a way to do that?

1 Answer 1


You can deploy your solution with all Projects inside, where they will be deployed based on the Order of each Project Creation.

  • Simply, Right Click on Solution name and Select Deploy Solution.

enter image description here

I tried this at Solution with Two projects that worked properly and the OutPut of deployed solutions is

enter image description here

Also, you can specify order as the following

  • Right Click on Solution > Project Build Order.

enter image description here

  • Now Use the dependencies tab to change the order

enter image description here

Note : No way to Retract projects all in one. it will require retracting one by one.

[Update Based on comments]

You got This dependency was added by the project system, and cannot be removed due to you've added a reference to the one project from the other project. so in this case, you can't change project dependencies.

A workaround to overcome that

Try adding a new project to your solution, with no dependencies on other projects in your solution, and you'll see that the checkboxes are enabled.

  • how can I specify the order of the projects? Sep 5, 2016 at 17:26
  • @BrittanyRutherford I was added dependcies that specify order , now I added detail steps please check the updated answer Sep 5, 2016 at 17:41
  • When I try to change the dependency, it says: This dependency was added by the project system, and cannot be removed. Sep 5, 2016 at 18:24
  • What's the version of Visual Studio ? Sep 5, 2016 at 18:57
  • visual studio 2013 Sep 5, 2016 at 19:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.