How can I build Debug and Release at once?

后端 未结 4 757
花落未央
花落未央 2021-02-18 21:08

When I select menu BuildBuild or anything else, it only builds the currently selected configuration (Debug or Release). How can I make it build, for ex

4条回答
  •  醉梦人生
    2021-02-18 21:23

    In the Visual Studio GUI, go to the menu

    BuildBatch Build

    This will pop up a window with all the possible combinations of projects and their configurations. Select all the items you want to build together and click the Build button on the right side of the window.

    That's it.

    There is also a button to rebuild a group of configurations instead of build (which is an incremental build).

    There is also an option to select/deselect all configurations/projects to build/rebuild.

提交回复
热议问题