you can't do this as you like - you can come close, but can't do it totally.
What you could do is add this section to the main app's config file:
<system.serviceModel>
<bindings configSource="bindings.config" />
<behaviors configSource="behaviors.config" />
<client configSource="client.config" />
<services configSource="services.config" />
.....
</system.serviceModel>
So for each section inside <system.serviceModel>
, you could specify an external config file by using the configSource=
attribute (and don't let Visual Studio's red squiggly lines confuse it - yes, it DOES work!).
You can do this for any configuration section - but unfortunately, there's no way to do this for the whole section group (<system.serviceModel>
).
Marc