Share via


Adding Assembly References for the Crystal Reports Server or BusinessObjects Enterprise SDK

This procedure may be an additional setup requirement to the procedures in Project Setup, depending on which tutorial or binding scenario you follow. To verify whether you must meet this requirement, consult the table in Additional Setup Requirements.

At the beginning of a .NET project, it is common practice to reference assemblies that contain the class libraries to code against.

The following procedure shows you how to add the necessary assemblies to work with the Crystal Reports Server or BusinessObjects Enterprise SDK.

Note

This procedure works only with a project that has been created from Project Setup. Project Setup contains specific namespace references and code configuration that is required for this procedure, and you will be unable to complete the procedure without that configuration. Therefore, before you begin this procedure, you must first follow the steps in Project Setup.

  1. In Solution Explorer, right-click the References folder and click Add Reference. This brings up the Add Reference dialog box.
In the Add Reference dialog box that appears, you can see three tabs: .NET, COM, and Projects. The .NET tab adds .NET assemblies, the COM tab adds COM objects, and the Projects tab adds other uncompiled Visual Studio projects, which are located on your hard drive.

You use only the .NET tab. It displays all .NET assemblies that have been installed on your system.
  1. If you have the Crystal Reports Server or BusinessObjects Enterprise SDK installed, then the RAS SDK is also included. Select the following CrystalDecisions.ReportAppServer assemblies:

    • CrystalDecisions.ReportAppServer.ClientDoc
    • CrystalDecisions.ReportAppServer.Controllers
The managed RAS server is included as a server within Crystal Reports Server or BusinessObjects Enterprise.
  1. Select also the following CrystalDecisions.Enterprise assemblies:

    • CrystalDecisions.Enterprise.Framework

    • CrystalDecisions.Enterprise.InfoStore

    • CrystalDecisions.Enterprise.Desktop.Report

      Note

      It is possible to have multiple versions of Crystal products on your machine. In that case, you see duplicate sets of assemblies in this window, but the version numbers would differ. Be careful to only add assemblies that share the same version number. You can choose which version you prefer to work with.

  2. On the right side, click Select.

This moves the selected assemblies into the selected components view at the bottom of the Add Reference dialog box.
  1. Click OK to add these assemblies as references to your project.
Notice that the assemblies are added into the References folder in Solution Explorer.
  1. Collapse the References folder so that the remaining items in this project are visible in Solution Explorer.