Hi I am using Windsor on a project and just put it on my Ubuntu server
running mono 2.4 I get the following error

Can't create component 'homecontroller' as it has dependencies to be
satisfied. homecontroller is waiting for the following dependencies:
Services: - ICustomerRepository which was not registered.

My registration is done as follows:
container.Register(
                AllTypes.FromAssembly(Assembly.GetExecutingAssembly())
                    .BasedOn(typeof(IRepository<,>))
                    .WithService
                    .FromInterface(typeof(IRepository<,>))
                    .Configure(c => c.LifeStyle.Transient)
                );
Now this works fine on my windows machine, but it does not seem to register
anything, is there any known compatibility issues with mono before I start
digging?
On a side not if I add the registration for the specific component it works
fine.

Thanks

-- 
Stefan Sedich
Software Developer
http://weblogs.asp.net/stefansedich

-- 
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.

Reply via email to