NullReferenceException experienced with Owin on Startup .Net Core 2.0 - Settings?
问题 I'm trying to start up a WebApp to use with NancyFx in a .NET Core 2.0 project. The package i've added to the solution to do this is Microsoft.AspNet.WebApi.OwinSelfHost which installs it's dependencies: Microsoft.AspNet.WebApi.Client Microsoft.AspNet.WebApi.Core Microsoft.AspNet.WebApi.Owin Microsoft.Owin Microsoft.Owin.Host.HttpListener Microsoft.Owin.Hosting Newtonsoft.Json Owin I've also added: Nancy Nancy.Owin My project is of type "xUnit Test Project (.NET Core)". Starting with my test