Skip to main content

Adding A Reference

In order to use the CMP (object or relational interface) in a Visual Studio project, you must first add a reference to InterSystems.Data.CacheClient.dll to the project. Here are the steps:

  1. Open the project in Visual Studio.

  2. Click Project –> Add Reference. This displays the Add Reference dialog box:

    generated description: refdialog 20101

  3. Click the Browse tab. Click on InterSystems.Data.CacheClient.dll. The file is in a subdirectory of <cache-install-dir>\Dev\dotnet\bin. Select the DLL appropriate for your .NET environment.

  4. Click OK.

Note:

You can add InterSystems.Data.CacheClient.dll to the assemblies listed under the .NET tab of the Add Reference dialog box. For instructions search under “Managing References” in the Visual Studio help.

FeedbackOpens in a new tab