You may get following error while trying to create instance of ServiceHost in the Console application.
ServiceHost only supports class service types.
Solution This error generally appears when you are trying to add a WCF Service with Service Reference and trying to create ServiceHost using it. In order to resolve this error, you need refer your WCF service by right clicking the Reference and adding it as an Project.
Hope this hels.
Thanks
Regards,
Sheo Narayan
http://www.dotnetfunda.com