I want to host my WCF Service using a Windows Service, but when I want to start my Windows Service then I get the following error in Event Viewer:
Service cannot be started. System.IO.FileNotFoundException: Could not load file or assembly 'RahatWcfServiceLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. File name: 'RahatWcfServiceLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' at RahatWindowsService.Service1.OnStart(String[] args) at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state) WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
RahatWcfServiceLibrary.dll
in application path? – Sriram Sakthivel