web.config, configSource, and "The 'xxx' element is not declared" warning.
- by UpTheCreek
I have broken down the horribly unwieldy web.config file into individual files for some of the sections (e.g. connectionStrings, authentication, pages etc.) using the configSource attribute.
This is working file, but the individual xml files that hold the section 'snippets' cause warnings in VS.
For example, a file named roleManager.config is…