NancyFx / Nancy

Lightweight, low-ceremony, framework for building HTTP based services on .Net and Mono
http://nancyfx.org
MIT License
7.15k stars 1.47k forks source link

NancyFX v2.0.0-clinteastwood is incompatible with Castle.Windsor v5.* #2955

Open robsonj opened 5 years ago

robsonj commented 5 years ago

Description

When using the Castle.Windor CI container (v5) the Nancy Bootstrapper throws an error due to a type load issue...

Could not load type 'Castle.MicroKernel.Lifestyle.WebRequestScopeAccessor' from assembly 'Castle.Windsor, Version=5.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc'.

Steps to Reproduce

Bootstrap NancyFX v2.0.0-clinteastwood via the WindsorNancyBootstrapper and compile against Castle.Windsor v5.*

At runtime, the type load exception outlined above will be thrown while bootstrapping.