Skip to main content
edited tags
Link
Mark Cassidy
  • 25.4k
  • 7
  • 59
  • 117
Source Link

Method not found: 'Void Glass.Mapper.Config.set_EnableLazyLoadingForCachableModels(Boolean)'

We are upgrading GlassMapper to V5 and installed Glass.Mapper.Sc.90. I have done all the changes and mentioned in http://www.glass.lu/Mapper/documentation/Upgrade-ToV5.html link. After the changes, the solution build successfully.

But at runtime i am getting

Method not found: 'Void Glass.Mapper.Config.set_EnableLazyLoadingForCachableModels(Boolean)'.

Searched many blogs but nothing lead me to the fix. Has anyone got this error? How should i resolve this?

Thanks in Advance, Yeshwanth