이 시도 :
는
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="WindowsFormsApplication1.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</sectionGroup>
<sectionGroup name="librarySettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="ClassLibrary1.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</sectionGroup>
</configSections>
<applicationSettings>
<WindowsFormsApplication1.Properties.Settings>
<setting name="HostSetting" serializeAs="String">
<value>Foo</value>
</setting>
</WindowsFormsApplication1.Properties.Settings>
</applicationSettings>
<librarySettings>
<ClassLibrary1.Properties.Settings>
<setting name="LibrarySetting" serializeAs="String">
<value>Bar</value>
</setting>
</ClassLibrary1.Properties.Settings>
</librarySettings>
</configuration>
이 호스트 응용 프로그램의 앱 설정에서 두 개의 섹션 그룹을 만듭니다. 하나는 호스트 자체의 설정 용이고 다른 하나는 라이브러리에 정의 된 설정 용입니다.