0
엔터프라이즈 라이브러리 4.1을 사용하는 웹 응용 프로그램이 있습니다. 동료가 웹 응용 프로그램에서 사용하는 인증 모듈을 Enterprise Library 5.0으로 업그레이드했습니다. 그리고 불행히도 업그레이드 된 버전의 인증 모듈에는 필요한 새로운 기능이 포함되어 있으므로 업그레이드 된 모듈을 프로젝트에 포함해야합니다. 이제 다음과 같은 예외를 받고 있어요 :웹 응용 프로그램에서 예외가 발생했습니다.
[A]Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationSourceSection
cannot be cast to [B]Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationSourceSection.
Type A originates from 'Microsoft.Practices.EnterpriseLibrary.Common, Version=4.1.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' in the context 'Default' at location
'C:\Windows\assembly\GAC_MSIL\Microsoft.Practices.EnterpriseLibrary.Common\4.1.0.0__31bf3856ad364e35\Microsoft.Practices.EnterpriseLibrary.Common.dll'.
Type B originates from 'Microsoft.Practices.EnterpriseLibrary.Common, Version=5.0.414.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' in the context 'Default' at location
'C:\Windows\assembly\GAC_MSIL\Microsoft.Practices.EnterpriseLibrary.Common\5.0.414.0__31bf3856ad364e35\Microsoft.Practices.EnterpriseLibrary.Common.dll'.
내가 EL 5.0으로 업그레이드하지 않고 내 응용 프로그램에서 업그레이드 된 인증 모듈을 사용할 수있는 방법이 있나요?
예, 기본적으로 결론에 도달했습니다. 또는 적어도 아무도 대안을 제안하지 않았습니다. 조직 전체의 업그레이드를 장려하는 방법 중 하나라고 생각하지만, 놀랄만큼 합의 된 일정으로 진행되는 것이 바람직했을 것입니다. 또한 EntLib 5.0.414.0에는 5.0.505.0 버전에서 해결되는 entlib.config의 위치와 관련된 버그가 있음을 발견했습니다. –