Configure the project build order

You can instruct the IDE to build certain projects before others. If a given project refers to another project, the IDE builds that project first.
Note: You should configure the build order only in the very rare case where the IDE can't determine the build order from the project dependencies. The usually occurs only when projects are mutually dependent.

Instead of specifying the build order, you should use the Project References page for each project to identify the projects that it depends on. The IDE ensures that a project's references are built first when you build all projects.

Setting the build order doesn't necessarily cause the IDE to rebuild all projects that depend on a given project. You must rebuild all projects to ensure that all dependencies are resolved.

To manually configure the project build order:
  1. From the main menu, select Window > Preferences.
  2. In the left pane, expand General, expand Workspace, and select Build Order.

  3. Disable the Use default build order option.
  4. Select a project from the list, then click the Up or Down buttons to position the project where you want it to appear in the build order list.
  5. When you're done, click Apply, then OK.