Hi. I am working on a asp.net mvc applicaiton based on (http://
docs.castleproject.org/Windsor.Windsor-tutorial-ASP-NET-MVC-3-
application-To-be-Seen.ashx) sample. I made a class library project,
and made it to deploy its dll files to 'Extensions' folder.In this
library I created a class which implements IWindsorInstaller as
follows :

public class ConceptInstallers : IWindsorInstaller
    {

        public void Install(Castle.Windsor.IWindsorContainer
container,
Castle.MicroKernel.SubSystems.Configuration.IConfigurationStore store)
        {
            container.Register(
 
Component.For<IController>().ImplementedBy<ConceptController>()
                    .Named("ConceptController").LifeStyle.Transient

                );
        }
    }

'Extensions' folder is located in 'Bin' folder. Here is my definition
for WindsorContainer :

  container = new WindsorContainer().Install(FromAssembly.This(),
                FromAssembly.InDirectory(new
AssemblyFilter("Extensions", "*.dll"))
                );
But when I make a break point and inspect 'container.Kernel', it only
recognized assemblies in 'Bin' folder and not the .dll files in
'Extensions' folder.
How can this be fixed ?

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to