Adding references to assemblies from Visual Studio

When you set up .NET assembly templating on a client machine, you need to add the Tridion Sites assemblies, or DLLs, (and accompanying XML documentation files) present on your client machine to your Visual Studio project.

About this task

Procedure

  1. Open Visual Studio and open your project.
  2. From the main menu, select Project > Add Reference. The Add Reference dialog appears.
  3. Select the Browse tab.
  4. Navigate to the folder that contains the Tridion Sites DLL files and their XML documentation files.
  5. In this folder, select the following assemblies:
    • Tridion.Common.dll
    • Tridion.ContentManager.dll
    • Tridion.ContentManager.Templating.dll
    • Tridion.ContentManager.Publishing.dll
  6. Click OK.