Custom Configuration for app.config - collections of sections?
My head is absolutely pounding badly! I have done this before but not as "in depth" or complex as this and I have tried different ways to make this happen but all has failed. So, this is the custom XML I want in the app.config: <Profiles> <!--Collection--> <Profile Name="Live"> <Components> <Component Name="Portal" Type="Web" /> <Component Name="Comms" Type="Web" /> <Component Name="Scheduler" Type="WindowsService" ServiceName="LiveScheduler" /> </Components> <Databases> <Database Name="Main" Connection="Data Source=.\SQL2008" /> <Database Name="Staging" Connection="Data Source=SomeSite.co.uk"