I've ran into the following problem with DynamicProxy and Castle : Application with plugins When application loads plugin it uses Interceptors to perform some routines on access to particular interface implementations. Plugin publishes a class implementing such interface and references assembly from the app (Core.dll). I'm trying to use plugin with the prev version of the application thus I had to redirect Core.dll binding in config, and when class from the plugin is being proxied i get the following exception
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileLoadException: Could not load file or assembly 'Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044) File name: 'Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' at Castle.Proxies.Invocations.ITradeService_get_Trades.InvokeMethodOnTarget() at Castle.DynamicProxy.AbstractInvocation.Proceed() Assembly binding is correct - checked with FUSLOGVW.exe Any ideas on how to solve it? -- You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en.
