如何重建全部?
在 Visual Studio 中,如何重建完整的解决方案(包括所有配置)?
如果我选择“重建解决方案”,它总是仅重建“调试”或“仅发布”,但绝不会同时重建两者。
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, but never both.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
使用批量构建选项...右键单击解决方案即可查看它。
这是一个屏幕截图(VS2010,但我相信 VS2008 也一样)
批量构建屏幕截图 http://img368 .imageshack.us/img368/1516/batchbuild.jpg
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
我的一些项目有“批量构建”选项,其他项目则没有。
发现那些有它的人是用 c#.net 编写的,而那些没有它的人是用 vb.net 编写的,更多信息请参见:
https://msdn.microsoft.com/en-us/library/jj651644.aspx
您可以使用多个甚至全部来构建大多数类型的项目,使用“批量构建”对话框同时更改其构建配置。
但是,您无法同时在多个生成配置中生成以下类型的项目:
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:
在Visual Studio 2005中,我发现在Build->Configuration Manager下,我没有为该项目检查Build。
In Visual Studio 2005, I discovered that under Build->Configuration Manager, I did not have Build checked for the project.