Fixing a broken build

Sometimes, you must add a task to or remove a task from a project grouping to fix the associated objects that are breaking a build. After you add or remove the task, perform an update to add or remove all the files that are associated with the change.

Procedure

  1. Determine which objects are causing the build to break.
  2. Add or remove the task associated with the objects from the project grouping.

    In the Work pane, right-click over the appropriate file or directory, and select either Add Task to Project Grouping or Remove Task from Project Grouping.

    The Select Project Grouping dialog box appears. Use it to select the appropriate project grouping.

  3. Right-click over the appropriate project grouping and select Automatically Update Baseline & Tasks. (Be sure to clear the check mark to the left of the option to keep other new tasks from being retrieved.)
  4. Update the project.
  5. Build your project again.
  6. Right-click over the same project grouping (in step 3) and select Automatically Update Baseline & Tasks to select this option.

Feedback