We are using VS2012. We have a solution with mulitple web projects and are using publish to deploy a project. There are already quite a few projects in the solution. To publish all of them at once it is pretty time consuming. Is there a way to publish all the projects at once?
I found out I can use msbuild at the command line to publish multiple projects.
msbuild example.sln /p:Configuration=Test;DeployOnBuild=true;PublishProfile=Test.example.pubxml /MaxCpuCount:8
You might be interested in publishing from command line:
msbuild YourSolution.sln /property:Configuration=Release;DeployOnBuild=true;PublishProfile=Production
You can find further reading on Scott Hanselman's blog for example.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With