Adding Crystal Reports References to Your Project
When adding a Crystal Reports code customization to your application, you may need to add appropriate DLL references to your project.
Adding Crystal Reports References By Hand
Copy these DLLs into your application’s \Bin folder.
These DLLs are most likely located in:
Crystal Reports XI Release 2 using .NET Framework 2.0 / 3.0:
C:\Program Files\Business Objects\Common\3.5\managed\dotnet2
Crystal Reports included with Visual Studio 2005 using .NET Framework 2.0 / 3.0:
C:\Program Files\Common Files\Business Objects\2.7\Managed
Note that Crystal Decisions changed their name to Business Objects, so their folder names may have changed as well.
Adding Crystal Reports References Using Visual Studio .NET
Step 1: Open your project in Visual Studio .NET. Open the Solution Explorer, expand the Project tag in the tree and select the References tag. Right mouse click and select Add Reference.
Step 2: On the Add Reference dialog, select the CrystalDecisions.CrystalReports.Engine component and press the Select button. This will add the library to the Selected Components area at the bottom of the dialog. Repeat this for the CrystalDecisions.Shared component. Press OK on the dialog to add this to the Visual Studio .NET project.
Step 3: Save the project. You can either build from Visual Studio .NET or you can build from Iron Speed Designer.
To build from Iron Speed Designer, set your application’s compiler to Visual Studio .NET via the Application Wizard in Iron Speed Designer.