建置和清除專案與方案Building and cleaning projects and solutions

請遵循本文章中的步驟,以了解如何建置、重建和清除您的方案與專案。Follow the steps in this article to learn how to build, rebuild, and clean your solution and project.

建置、重建或清除整個方案To build, rebuild, or clean an entire solution

若要建置、重建或清除整個方案:To build, rebuild, or clean an entire solution:

  1. 選取 Solution Pad 中的方案節點:Select the Solution node in the Solution Pad:

    選取方案節點

  2. 在功能表列中選取 [建置] 功能表,然後選取下列其中一個選項:Select Build Menu in the Menu bar and select one of the following options:

    選取建置所有功能表項目

    • 全部建置 - 嘗試建置專案中自最新建置後已變更的所有檔案。Build All - Attempts to build all files within project that have changed within the project since the most recent build.
    • 全部重建 - 清除方案,然後加以建置。Rebuild All - Cleans the solution and then builds it.
    • 全部清除 - 從您的方案中移除所有組建產品。Clean All - Removes all build products from your solution.

建立或重建單一專案To build or rebuild a single project

  1. 在 Solution Pad 中選取專案。In the Solution Pad, select the project.

  2. 在功能表列上選擇 [建置],然後選擇 [建置 <專案名稱>]、[重建 <專案名稱>] 或 [清除 <專案名稱>]。On the menu bar, choose Build, and then choose either Build[ProjectName], Rebuild[ProjectName], or Clean[ProjectName].

停止建置To stop a build

若要停止建置,請按狀態區域中的紅色方塊:To stop a build, press the red square in the status area:

按紅色方塊以停止建置