title: VS2015 publish multiple web project in a solution on build
body: <p>I have solution which has three web projects(Site1, Site2 and Web.Shared). </p>
  
  <p><a href="https://i.stack.imgur.com/UpXEi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UpXEi.png" alt="enter image description here"></a></p>
  
  <p>I have defined Publish Profile for all the three projects. I have to publish each project for deploying changes to deploy folder.</p>
  
  <p>I tried <a href="https://stackoverflow.com/questions/13647129/vs2012-publish-multiple-projects-in-a-solution">VS2012 publish multiple projects in a solution</a> and <a href="https://blogs.msdn.microsoft.com/webdev/2013/09/22/web-publish-how-to-automate-multi-project-publish-with-file-system/" rel="nofollow noreferrer">https://blogs.msdn.microsoft.com/webdev/2013/09/22/web-publish-how-to-automate-multi-project-publish-with-file-system/</a>. That did not help.</p>
  
  <p>Is there a way for publishing all the three projects during build?</p>