Making custom code work with new Content Delivery .NET assemblies

If you created custom code that interacts with (parts of) Content Delivery running as a .NET Web application, then in order to work with Content Delivery 2013 SP1, your custom code requires policy files that resolve DLL versioning conflicts. Copy these policy files (and the new Content Delivery DLLs) to your Windows assembly on the machine that runs your custom code.

Procedure

  1. Access the Windows machine on which your custom code runs.
  2. On the SDL Tridion installation media, navigate to the folder Content Delivery\roles\api\dotNet\x86_64\publishpolicies\ (for 64-bit systems) or Content Delivery\roles\api\dotNet\x86\publishpolicies\ (for 32-bit systems).
  3. If your custom code currently interacts with SDL Tridion 2011 SP1, then copy the following files to the c:\Windows\assembly\ folder on your Windows machine:
    • policy.6.1.Tridion.ContentDelivery.dll
    • policy.6.1.Tridion.ContentDelivery.Configuration.dll
    • policy.6.1.Tridion.ContentDelivery.Interop.dll (only if your custom code interacts with Tridion.ContentDelivery.Interop.dll)
    • policy.6.1.Tridion.ContentDelivery.AmbientData.dll (only if your custom code interacts with Tridion.ContentDelivery.AmbientData.dll)
  4. If your custom code currently interacts with SDL Tridion 2011, then copy the following files to the c:\Windows\assembly\ folder on your Windows machine:
    • policy.6.0.Tridion.ContentDelivery.dll
    • policy.6.0.Tridion.ContentDelivery.Configuration.dll
    • policy.6.0.Tridion.ContentDelivery.AmbientData.dll (only if your custom code interacts with Tridion.ContentDelivery.AmbientData.dll)
  5. Alternatively, if your custom code currently interacts with SDL Tridion 2009 or SDL Tridion 2009 SP1, then copy the following files to the c:\Windows\assembly\ folder on your Windows machine:
    • policy.5.4.Tridion.ContentDelivery.dll
    • policy.5.4.Tridion.ContentDelivery.Configuration.dll
  6. On the installation media, move up one folder, to Content Delivery\roles\api\dotNet\x86_64\, and copy the following files to the c:\Windows\assembly\ folder on your Windows machine:
    • Tridion.ContentDelivery.dll
    • Tridion.ContentDelivery.Configuration.dll
    • Tridion.ContentDelivery.AmbientData.dll (only if your custom code interacts with this DLL)