My web.config looks like this:
<configuration>
<configSections>
<appSettings configSource="Exampleapp.config" />
<connectionStrings configSource="ExampleProd.config" />
</configSections>
<configuration>
My app.config (Exampleapp.config) looks like this:
<configSections>
<sectionGroup name="exampleSettings">
<section name="blah" type="System.Configuration.NameValueSectionHandler" />
<section name="foo" type="System.Configuration.NameValueSectionHandler" />
</sectionGroup>
</configSections>
<exampleSettings>
<blah>
<add key="me" value="1" />
</blah>
<foo>
<add key="you" value="2" />
</foo>
</exampleSettings>
I'm getting an error that says: XML document cannot contain multiple root level elements. How do I resolve this?