volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

AI OnAI Off

Update or adding Enterprise.Library

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=2.0.0.0, 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) ]  

#29192
Apr 14, 2009 19:07

After some help I found solution for it. I had to add the new assemblies into the global assembly cache.

#29207
Apr 15, 2009 13:49
error This thread is locked and should be used for reference only. Please use the Legacy add-ons forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.