Castle Windsor Project Includes in Config
Posted
by Michael Edwards
on Stack Overflow
See other posts from Stack Overflow
or by Michael Edwards
Published on 2010-04-15T11:00:05Z
Indexed on
2010/04/15
11:03 UTC
Read the original article
Hit count: 625
I want the properties section of the Castle config to be included from another file. I.e:
<castle>
<include uri="file://properties.config" />
</castle>
The properties.config would then look like:
<properties>
<smtp>10.10.10.10</smtp>
<username>john</username>
</properties>
I can get the include to work for components but not for properties. If I try to do this with properties I get an exception thrown. Is this a limitation of Castle?
© Stack Overflow or respective owner