I have two projects in my solution.
ProjectA is a windows service, and ProjectB has a reference to Microsoft.Owin.Host.HttpListener, which starts a WebApi as self-host.
The reason why those projects are seperated, is to be able to share ProjectB across other windows services.
If I set ProjectA as startup, which then references to ProjectB, at the moment ProjectB tries to interact with any WebApi functionality (from the Microsoft.Owin.Host.HttpListener namespace), it will throw an exception, telling me that:
An unhandled exception of type 'System.MissingMemberException' occurred in Microsoft.Owin.Hosting.dll
Additional information: The server factory could not be located for the given input: Microsoft.Owin.Host.HttpListener
Is it possible to have the ProjectB executing it's own external references, when ProjectA is the executing point, without installing Owin.HttpListener package in ProjectA as well? And if so, how?