I want to add EnterpriseLibrary.Logging but I am strugling with it. It seems that there is used strongly-named from the Episerver EnterpriseLibrary.Common and EnterpriseLibrary.Data. When I add the Logging reference the EnterpriseLibrary dll's from episerver is overwritten. I tried both new version 4.1 and the old 2.0 version.
I got this error:
PlugInException: Failed to load some types from "Microsoft.Practices.EnterpriseLibrary.Data": Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Common, Version=126.96.36.199, Culture=neutral, PublicKeyToken=0bd7a6276e8c109e' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) ]
After some help I found solution for it. I had to add the new assemblies into the global assembly cache.