NancyHost nancySelfHost = new NancyHost(new Uri("http://localhost:8010/"));
在初始化nancy时会报错
System.InvalidOperationException:“Something went wrong when trying to satisfy one of the dependencies during composition, make sure that you've registered all new dependencies in the container and inspect the innerexception for more details.”
这里是报错信息
nancy的配置问题,你用nuget重新导入下