This project has moved and is read-only. For the latest updates, please go here.

using configSource to split out sections to separate files

Feb 17, 2010 at 4:32 PM


In case anyone else is wondering, you can use the configSource attribute in your custom section in order to split out sections into separate files.

If you want the intellisense to work on this attribute in your section, just add the configSource attribute in the section designer. 


<environment configSource="Environment1.config" />

There is a good article about splitting your config files if you want further info.

Feb 17, 2010 at 5:46 PM

Actually, DON'T add the attribute to your section in the design, this causes an exception when loading the config.

It won't have intellisense but should work fine.