Cool, thanks Stefan.
Generally our Mono support is not as good as it could be, because no one
of the committers is working on Mono, and no one from wider community
wanted to take the job of improving that state of affair.
There's Timotheo who recently started looking at that, but he's
concentrating on some other areas. If you'd want to help with this,
we're more than happy to support mono, although I don't know how hard/easy
would it be to support older versions.
Why are you using 2.3?
Krzysztof
On 21/07/2010 11:54 PM, Stefan Sedich wrote:
Cool thanks, I will check it out tommorow night, looks related at
first glance.
Cheers
Stefan
On Wed, Jul 21, 2010 at 11:52 PM, Mauricio Scheffer
<[email protected] <mailto:[email protected]>> wrote:
There are some failing tests in the Mono build, they might be
related to your issue:
http://builds.castleproject.org/viewType.html?buildTypeId=bt81&tab=buildTypeStatusDiv
<http://builds.castleproject.org/viewType.html?buildTypeId=bt81&tab=buildTypeStatusDiv>
It would be great if you could take a look, you'd have to upgrade
to Mono 2.6 first though.
--
Mauricio
On Wed, Jul 21, 2010 at 10:14 AM, Stefan Sedich
<[email protected] <mailto:[email protected]>> wrote:
Changing my Registration to:
container.Register(
AllTypes.FromAssembly(Assembly.GetExecutingAssembly())
.BasedOn(typeof (IRepository<,>))
.WithService.Select((t, b) => new List<Type>
{
t.GetInterfaces().Where(x => !x.IsGenericType).FirstOrDefault()
})
.Configure(c => c.LifeStyle.Transient)
);
And it now works :) guess that is good enough for me.
On Wed, Jul 21, 2010 at 11:07 PM, Stefan Sedich
<[email protected] <mailto:[email protected]>> wrote:
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
--
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]
<mailto:[email protected]>.
To unsubscribe from this group, send email to
[email protected]
<mailto:castle-project-users%[email protected]>.
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en.
--
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]
<mailto:[email protected]>.
To unsubscribe from this group, send email to
[email protected]
<mailto:castle-project-users%[email protected]>.
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en.
--
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.
--
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.