Search code examples
castle-windsoraspnetboilerplate

Method not found LifestylePerWebRequest() after updating to ABP 4.5


I got stuck after updating ASP.NET Boilerplate to version 4.5, it's related to the breaking changes of Castle Windsor 5.0. The type Castle.MicroKernel.Lifestyle.PerWebRequestLifestyleModule of the Windsor package has been moved to another package. When I try to start the application I get the error:

method not found
Castle.MicroKernel.Registration.BasedOnDescriptor.LifestylePerWebRequest()

.

I checked the breaking changes, I think I am supposed to use the new Castle.Facilities.AspNet.Mvc package. But when I search in the aspnetboilerplate project in github I can't find anything related to that package, which I would expect.

What am I missing here? How can I solve this problem? Thanks in advance.


Solution

  • Asp boilerplate 4.5 is not compatible with windsor 5.0. So the problem was solved by using the older windsor packages.