Error in CXWindsorContainerFacade

Feb 28, 2008 at 10:03 PM
Hi, i make a download of castle and get the following error in
public class CXWindsorContainerFacade : ICXContainerFacade
{
......
public IEnumerable<T> ResolveAll<T>()
where T : class
{
return this.container.Kernel.ResolveAll(typeof(T), null) as IEnumerable<T>;
}

"Castle.MicroKernel.IKernel" no definition for "ResolveAll" ?????

Is there another version of castle around????
Thanks
Peter
Mar 1, 2008 at 11:05 PM
Hi Peter

I have posted binaries in the bin folder. I think our early spikes were using one of the nightly builds that is post the version that is currently released to production.
Mar 2, 2008 at 8:45 PM
Works perfectly,
Thanks
Peter
Mar 4, 2008 at 12:22 PM
Edited Mar 4, 2008 at 12:23 PM
Glenn,
Can IKernel.ResolveAll method be replaced by IKernel.ResolveServices to use the new version of Castle?

George
Mar 4, 2008 at 6:54 PM
I am not sure, but I'll ask Ayende. :)
Mar 4, 2008 at 7:17 PM
ResolveServices would work, yes.
Having both is actually a problem, and we will remove one of them soon, probably RemoveAll
Mar 6, 2008 at 1:23 PM
Thanks.