You must include Microsoft.Owin.Host.HttpListener.dll in your project links.
You can add it through NuGet.
However, if the executable code is:
WebApp.Start<SrvcHst> (...);
contained in the class library, make sure that the executable that consumes the library also includes a link to Microsoft.Owin.Host.HttpListener.dll , otherwise it will not be deployed with your program, since there are no explicit links to it from the class library.
Look at your bin/Debug folder and make sure there is a DLL there.
Pierre Arnaud Nov 13 '14 at 5:51 2014-11-13 05:51
source share