VS2012 publish multiple projects in a solution

后端 未结 2 1845
不思量自难忘°
不思量自难忘° 2020-12-31 06:29

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 publ

相关标签:
2条回答
  • 2020-12-31 07:19

    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
    
    0 讨论(0)
  • 2020-12-31 07:19

    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.

    0 讨论(0)
提交回复
热议问题