Add References

The Add References dialog box lets you add assembly references to the scripts you write in the Script and SDK Script activities.

  1. Open the Script Editor's ClosedProject Explorer Pane.
  2. Tip: If the Project Explorer Pane is closed, you can open the pane by selecting View from the main menu and selecting Project Explorer. Alternatively, use the keyboard shortcut CTRL+SHIFT+P.

  3. Right-click the folder, and select Add Reference.
  4. In the ClosedAdd References dialog box, select a reference from the list of assemblies on your Workflow Server machine. The assemblies listed here include:
  5. This list does not include references that are already listed in your script project.

      Note: This list will only refresh if you close and re-open the Script Editor.

  6. Optional: Search for an assembly using the search box (at the top of the dialog box) or click Browse to browse for a file on the Workflow Server. The version listed next to the reference is the assembly version.
  7. Note: You must have file browsing enabled in the Workflow Administration Console to browse for a file on the Workflow Server.

  8. After selecting a reference, click OK.
  9. In the Project Explorer Pane, you can view the details about a reference (such as the version and its location) by expanding the References folder, right-clicking a reference, and selecting Details.
  10. If your reference has a warning icon , the Workflow Designer cannot resolve it. Learn more about resolving references for the Workflow Designer and Workflow Server.
  11. Note: The References folder only allows assembly references to be added and removed. You cannot create or move script files in this folder.

    Tip: After resolving references, ensure all your references can be resolved by the Workflow Server as well.