The server factory could not be located for the given input: Microsoft.Owin.Host.HttpListener
The server factory could not be located for the given input: Microsoft.Owin.Host.HttpListener运行WebApi服务器报错:
The server factory could not be located for the given input: Microsoft.Owin.Host.HttpListener
问题分析:
项目没有添加:Microsoft.Owin.Host.HttpListener.dll
解决方案:
工程项目-->鼠标右键-->管理Nu程序包-->浏览-->输入:Microsoft.Owin.Host.HttpListener-->安装。