Could you isolate this into a failing unit test?
cheers,
Krzysztof
--
You received this message because you are subscribed to the Google Groups "Castle Project Users" group.
To post to this group, send email to castle-project-users@googlegroups.com.
To unsubscribe from this group, send email to castle-project-users+unsub...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en.
2011/9/29 Krzysztof Koźmic <krzyszto...@gmail.com>
To post to this group, send email to castle-pro...@googlegroups.com.
To unsubscribe from this group, send email to castle-project-u...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Castle Project Users" group.
To post to this group, send email to castle-pro...@googlegroups.com.
To unsubscribe from this group, send email to castle-project-u...@googlegroups.com.
cheers,
Krzysztof
Can you paste the selector and interface impl. as well?
--
You received this message because you are subscribed to the Google Groups "Castle Project Users" group.
To post to this group, send email to castle-project-users@googlegroups.com.
To unsubscribe from this group, send email to castle-project-users+unsub...@googlegroups.com.
There are two parts to it. First of all the exception message you're
getting is misleading. In beta 2 and further on its actually:
Castle.MicroKernel.ComponentNotFoundException : Requested component
named 'watching.._bob.txt' was not found in the container. Did you
forget to register it?
There is one other component supporting requested service
'Foo.Bar.IFileWatcher'. Is it what you were looking for?
Second part of the issue is, as mentioned in the exception message,
you're trying to resolve the component by name, and there's no component
for that name.
This is a breaking change from v2.5.3 and as described in
breakingchanges.txt, if you want to fallback to resolving by type when
you can't resolve by name set
FallbackToResolveByTypeIfNameNotFound = true;
in your selector.
HTH,
cheers,
Krzysztof
2011/9/29 Krzysztof Koźmic <krzyszto...@gmail.com>
To post to this group, send email to castle-pro...@googlegroups.com.
To unsubscribe from this group, send email to castle-project-u...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Castle Project Users" group.
To post to this group, send email to castle-pro...@googlegroups.com.
To unsubscribe from this group, send email to castle-project-u...@googlegroups.com.
Could you isolate this into a failing unit test?
cheers,
Krzysztof
On 30/09/2011 7:26 AM, Matthew Brubaker wrote: