Missing dependency (WEB API deployed in path with space )

15 views
Skip to first unread message

Alessandro Villani

unread,
Feb 26, 2021, 7:07:06 AM2/26/21
to Castle Project Users
Hi , i need to load elements located in a subfolder of my Web Api project ( C#).
These plugins expose a class that implement IWindsorInstaller.
I try to load these with :
container.Install(Castle.Windsor.Installer.FromAssembly.InDirectory(new AssemblyFilter("bin\\Plugins")));
or 
container.Install(Castle.Windsor.Installer.FromAssembly.InDirectory(new AssemblyFilter("<fullpath>\\bin\\Plugins")));

but the command works only if the folders' names path has no space,  otherwise castle does not load these elements .

Is it a bug ? Do i something wrong ?

Thank you 

Alessandro 

Reply all
Reply to author
Forward
0 new messages