Build a container project

Once you've finished setting up your container project and its configurations, it's very simple to build your container:

To build a container project:

  1. In the Project Explorer view, right-click your container project.
  2. Select Build Container Configuration….
  3. Choose the appropriate configuration from the dialog.
  4. Click Build.
Note: A project's build variant that's selected in the container configuration is built, regardless of whether the variant is selected in the C/C++ project's properties. In other words, the container project overrides the individual project's build-variant setting during the build.

The one exception to this is the All Enabled variant in the container configuration. If the container configuration is set to build all enabled variants of a project, then only those variants that you've selected in the project's build-variant properties are built.

To build the default container configuration, you can also use the Build item in the right-click menu.