최근에 커다란 사용자 지정 구성 그룹을 작성했습니다. <configuration>
<configSections>
<sectionGroup name="MyCustomGroup">
<section name="MyCustomSection"/>
</sectionGroup>
</configSections>
'MyCustomElement'항목이 이미 추가되었습니다. C:\Projects\Sandbox\Sandbox.Console\bin\Debug\Sandbox.Console.vshost.exe.config line 52
나는이 문제에 다소 괴롭다. 이 콘솔 앱에는 지난 몇 주 동안 아무런 문제없이 추가 된 몇 가지 맞춤 설정 섹션이있었습니다. 우리는이 앱을
Windows Forms 응용 프로그램의 app.config 파일에 사용자 지정 섹션을 추가했습니다. CustomFields myCustomFields = (CustomFields)System.Configuration.ConfigurationManager.GetSection("CustomFields");
내가 섹션 이름을 지정합니다 : 나는 문제가 생각
타입 CollectionElements에 의해 서로 다른 다수의 예와 CollectionElementCollection을 할 수 있는가 : 나는 모든 클래스는 솔루션에 필요한 한 <collection>
<add type="MyType1, MyLib" Type1SpecificProp="1" />
<add type="MyType2, MyLib