Auslagern von SectionGroups per configsource

UliA

Grünschnabel
Hi,

ich stehe vor einem kleinen Problem. Es geht um die Konfiguration von Anwendungen. In meiner AppConfig habe ich die entsprechenden Settings. Um eine einfache Wartbarkeit zu gewährleisten, will ich Einstellungen in separate Dateien auslagern. Bei normalen Sections geht das mit dem Attribut 'configsource'. Ich bräuchte das allerdings für eine 'sectiongroup'. Auf der Seite http://forums.asp.net/p/1239056/2260116.aspx habe ich nun gelesen, dass das gar nicht möglich ist:

This problem is the attribute "configSource" can only be set on a config section not a config sectionGroup.
I am not sure why the oversight on MS part but you can not carve out an entire section group into a seperate file only a config section.


Weiß da jemand eine möglichkeit oder kann das gar widerlegen?
 
Zuletzt bearbeitet:
Zurück