Your solution worked for me. Do you think if it is possible to use Caste to make plug-able asp.net mvc application. ? I mean loading making a class library which contains View and Controllers and, build it and finally plug it to main application with Castle.
On Sep 26, 8:56 am, smolesen <[email protected]> wrote: > Hi > > I think you need to use: > > FromAssembly.InDirectory(new AssemblyFilter(@"bin\Extensions", > "*.dll")) > > On Sep 20, 7:02 pm, PersianDev <[email protected]> wrote: > > > > > > > > > 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 [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.
