2011-08-08 8 views
1

Microsoft의 엔터프라이즈 라이브러리를 사용하는 솔루션을 열 때마다 app.config를 작성하거나 열면이 오류가 발생합니다. 내 비주얼 스튜디오가 종료되고이 메시지 후엔터프라이즈 라이브러리 섹션 오류

enter image description here

! 내 구성은 1 년 동안 변경되지 않았으며 나는 단지 며칠이 오류가 발생했습니다. 나는 그것이 어디에서 왔는지, VS가이 메시지 이후에 종료되는 이유를 알지 못합니다 ...

누구나이 오류를 알고 있을지도 모릅니다.

내 구성은 다음과 같습니다

<?xml version="1.0"?> 
<configuration> 
    <configSections> 
    <section name="enterpriselibrary.configurationSettings" type="System.Configuration.IgnoreSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=....." /> 
</configSections> 
<enterpriselibrary.configurationSettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" applicationName="...." xmlns="http://www.microsoft.com/practices/enterpriselibrary/08-31-2004/configuration"> 
    <configurationSections> 
    <configurationSection xsi:type="ReadOnlyConfigurationSectionData" name="dataConfiguration" encrypt="true"> 
     <storageProvider xsi:type="XmlFileStorageProviderData" name="XML File Storage Provider" path="......" /> 
     <dataTransformer xsi:type="XmlSerializerTransformerData" name="Xml Serializer Transformer"> 
     <includeTypes /> 
     </dataTransformer> 
    </configurationSection> 
    </configurationSections> 
    <keyAlgorithmStorageProvider xsi:type="FileKeyAlgorithmPairStorageProviderData" name="File Key Algorithm Storage Provider" path="...."> 
    <dpapiSettings xsi:nil="true" /> 
    </keyAlgorithmStorageProvider> 
    <includeTypes /> 
</enterpriselibrary.configurationSettings> 

답변

0

의 machine.config이 문제를 해결에 configsections 삽입. 불행히도 나는 그 이유를 이해하지 못한다 ...

관련 문제