How to rebuild ALL?

前端 未结 3 1485
悲&欢浪女
悲&欢浪女 2021-01-21 01:42

In Visual Studio, how do I rebuild a complete solution, including all configurations?

If I choose \"Rebuild solution\", it always rebuilds ONLY Debug or ONLY Release, bu

相关标签:
3条回答
  • 2021-01-21 01:49

    Use the batch build option...right click on the solution to see it.

    Here is a screen shot (VS2010 but I believe it's the same for VS2008 too)

    Batch build screen shot http://img368.imageshack.us/img368/1516/batchbuild.jpg

    0 讨论(0)
  • 2021-01-21 01:51

    In Visual Studio 2005, I discovered that under Build->Configuration Manager, I did not have Build checked for the project.

    0 讨论(0)
  • 2021-01-21 01:54

    Some of my project had the 'batch build' option, others didn't.

    Found that those that did have it were written in c#.net and those that didn't have it were in vb.net, more information here:

    https://msdn.microsoft.com/en-us/library/jj651644.aspx

    You can build most types of projects with multiple, or even all, of their build configurations at the same time by using the Batch Build dialog box.

    However, you can't build the following types of projects in multiple build configurations at the same time:

    • Windows 8.x Store apps built for Windows using JavaScript.
    • All Visual Basic projects.
    0 讨论(0)
提交回复
热议问题