Thanks, you were right. The problem is that i build Rhino dll using the binaries in Trunk/ SharedLibs/Castle (nant -f:default.build - D:common.testrunner.enabled=false)
They seem not to be updated with the last version. When i replaced the Castle binaries in Trunk/SharedLibs/Castle with the new built version of the trunk. The new built Rhino binaries are working well. On 31 Dec 2008, 17:17, "Ayende Rahien" <[email protected]> wrote: > Looks like you have mismatched version of castle > > On Wed, Dec 31, 2008 at 6:09 PM, ppcanodehuelva > <[email protected]>wrote: > > > > > Hi all, > > > i don't really know whether that is the place my question. > > > Recently i updated and recompiled the Castle and Rhino version of the > > trunk, in order to use the new binaries. Afterward, an unexpected > > exception comes out when a property tries to be assigned to a > > component. > > > Ex 1: > > > component 'ch_logger', ILogger, ConsoleLogger > > component 'logCH', IComponentHandler, LoggerCH: > > logg...@ch_logger > > > Ex 2: > > > component 'o1', IObject1, Object1 > > component 'o2', IObject2, Object2: > > objec...@o1 > > > The exception trace is: > > > Excepción del tipo 'System.MissingMethodException' en > > Rhino.Commons.Binsor.dll > > System.MissingMethodException > > > Method not found: 'System.Collections.Specialized.NameValueCollection > > Castle.Core.Configuration.IConfiguration.get_Attributes()'. > > at > > > Rhino.Commons.Binsor.Configuration.ConfigurationHelper.SetConfigurationValue > > (IConfiguration config, String name, Object value, String valueKey, > > Boolean useAttribute) > > at > > > Rhino.Commons.Binsor.Configuration.ConfigurationHelper.ConvertDependencyToConfiguration > > (IConfiguration config, String name, Object value) > > at Rhino.Commons.Binsor.Component.QuackSet(String name, Object[] > > property_dependencies, Object value) > > at > > > Boo.Lang.Runtime.RuntimeServices.<>c__DisplayClass19.<CreatePropSetDispatcher>b__15 > > (Object o, Object[] args) > > at Boo.Lang.Runtime.RuntimeServices.Dispatch(Object target, String > > cacheKeyName, Type[] cacheKeyTypes, Object[] args, DispatcherFactory > > factory) > > at Boo.Lang.Runtime.RuntimeServices.Dispatch(Object target, String > > cacheKeyName, Object[] args, DispatcherFactory factory) > > at Boo.Lang.Runtime.RuntimeServices.SetProperty(Object target, > > String name, Object value) > > at bug1.Run() > > at Rhino.Commons.Binsor.BooReader.Execute(IWindsorContainer > > container, AbstractConfigurationRunner abstractConfiguration) > > > I guessed that it is a consequence of the last update on the > > Castle.Core.Configuration.IConfiguration class. > > > So i tried to find out and fix the bug by debugging the current rhino > > trunk version and using the same castle binaries with i got the > > exception. > > However, surprisingly the problem doesn't appear in this environment > > and the property can be successfully set up. > > > Any hints which could be the problem. > > > Many thanks in advance, > > > Regards. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" 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/rhino-tools-dev?hl=en -~----------~----~----~----~------~----~------~--~---
