I'm building a nupkg and I was attempting to do the web.config.transform, but ran into an issue where I could not get custom configSections to appear in the first node of the web.config. The transform works fine, otherwise. How do I ensure any
configSections included in my transform appear as the first node on the web.config? Other than that, everything working as expected.
<section name="TestConfiguration" type="Test.TestCMSConfiguration" allowLocation="true" allowDefinition="Everywhere" />
I receive this error message:
Parser Error Message: Only one <configSections> element allowed per config file and if present must be the first child of the root <configuration> element.