솔루션에서 간단한 WCF 서비스를 만들고 솔루션에 콘솔 응용 프로그램 프로젝트를 추가하여 WCF 서비스를 호출했습니다. 채팅 솔루션을 디버깅 할 때 다음 오류가 발생합니다. WCF 서비스는 테스트 할 때 잘 작동했습니다.WCF : System.Configuration.ConfigurationErrorsException
ServiceHost host = new ServiceHost(typeof(EvalService));
결과 오류 :
A child element named 'service' with same key already exists at the same configuration scope. Collection elements must be unique within the same configuration scope (e.g. the same application.config file). Duplicate key value: 'EvalServiceLibrary.EvalService'. (C:\Users\User_Name\Documents\Visual Studio 2010\Projects\ChatSolution\ConsoleHost\bin\Debug\ConsoleHost.vshost.exe.Config line 14)
** 표시 할 설정 파일 ** 문제가 있습니까? –