Seems to be a reference problem. Found out that it uses the dll in the GAC
(Gallio had registered it). I don't get this error now.

On Sat, Feb 28, 2009 at 10:01 AM, Martin Nilsson <[email protected]>wrote:

> Updated yesterday to latest trunk and having problem to create proxies.
>
> In Castle.Windsor.Proxy.DefaultProxyFactory.Init():
> generator.GetType().AssemblyQualifiedName
> "Castle.DynamicProxy.ProxyGenerator, Castle.DynamicProxy2, Version=2.0.3.0,
> Culture=neutral, PublicKeyToken=407dd0808d44fbdc"
>
>
> In
> Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.CreateInstance(CreationContext
> context, object[] arguments, Type[] signature):
>
> Ln 136:
> instance = Kernel.ProxyFactory.Create(Kernel, instance, Model, context,
> arguments);
>
> Above statement generates this exception:
> [System.MissingMethodException]: {"Method not found: 'System.Object
> Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithTargetInterface(System.Type,
> System.Type[], System.Object, Castle.DynamicProxy.ProxyGenerationOptions,
> Castle.Core.Interceptor.IInterceptor[])'."}
>
> CreateInterfaceProxyWithTargetInterface does not exist in
> Castle.DynamicProxy2 but it has a
> CreateInterfaceProxyTypeWithTargetInterface (not the 'Type' in the name)
>
> Any ideas?
>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" 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-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to