Skip to main content

Creating a project-to-project reference

Add a project-to-project reference

Follow these steps to create a project-to-project reference.

  1. In the Solution Explorer, right-click the controller project and choose Add Reference. The Add Reference window is displayed.

    project to project reference 1
  2. On the Projects tab, select a project. To add more than one project reference at a time, press the Shift key to select multiple projects.

    project to project reference 2
  3. Click OK to close the Add Reference window. The project is displayed in the Reference folder under the controller project in the Solution Explorer.

  4. In the Solution Explorer, right-click the controller project and choose Manage Imported Projects. The Import Projects window is displayed.

    project to project reference 3
  5. From the Available Projects list, highlight the referenced project and click > to move the project into the Imports list. In case of multiple projects, select all the projects and click >>.
    project to project reference 4
  6. Click OK. The window closes and imported project is saved to the controller project.

Set the StartUp project

Follow these steps to set a project as a controller project in a multi-project solution.

  1. In the Solution Explorer, right-click the project to use as the controller project.

    project to project reference 5
  2. From the context menu, select Set as StartUp Project. The selected project name becomes bold in type inside the Solution Explorer.

  3. Save the solution to persist your selection.
If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice