Documentation Center

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 v8.5, 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 as an administrator user.
  2. On the SDL Web installation media, navigate to the folder Content Delivery\resources\policies\.
  3. Open a command prompt.
  4. If your custom code currently interacts with SDL Tridion 2013 SP1, then execute the following commands:
    • gacutil /i policy.7.1.Tridion.ContentDelivery.dll
    • gacutil /i policy.7.1.Tridion.ContentDelivery.Configuration.dll
    • gacutil /i policy.7.1.Tridion.ContentDelivery.Interop.dll (only if your custom code interacts with Tridion.ContentDelivery.Interop.dll)
    • gacutil /i policy.7.1.Tridion.ContentDelivery.AmbientData.dll (only if your custom code interacts with Tridion.ContentDelivery.AmbientData.dll)
    • gacutil /i policy.7.1.Tridion.ContentDelivery.UGC.dll (only if your custom code interacts with Tridion.ContentDelivery.UGC.dll)
  5. If your custom code currently interacts with SDL Tridion 2011 SP1, then execute the following commands:
    • gacutil /i policy.6.1.Tridion.ContentDelivery.dll
    • gacutil /i policy.6.1.Tridion.ContentDelivery.Configuration.dll
    • gacutil /i policy.6.1.Tridion.ContentDelivery.Interop.dll (only if your custom code interacts with Tridion.ContentDelivery.Interop.dll)
    • gacutil /i policy.6.1.Tridion.ContentDelivery.AmbientData.dll (only if your custom code interacts with Tridion.ContentDelivery.AmbientData.dll)
    • gacutil /i policy.6.1.Tridion.ContentDelivery.UGC.dll (only if your custom code interacts with Tridion.ContentDelivery.UGC.dll)