Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
sitecore 9.1.0 upgrade issue with Simple Injector DI #721
I am currently(after upgrade) on System.web.mvc version->5.2.6
Can you please suggest any inputs?
Well, I am in the process of migrating from Sitecore 8.1 to 9.1.0, I have done the glass mapper migration to V5 using Glass.mapper.sc.91 nuget which installs the Castle core DI by default.
Current Situation: In my 8.1 Code base (solution) we have used Simple Injector DI. Now when i did the migration of glass mapper V4 to V5, It automatically upgrades/Installs the Castle core 4.4.0 (my current version was 3.3.0).
When you migrate to V5 of Glass Mapper it adds a GlassMapper.cs and GlassMapperscCustom.cs files to App_start folder.
The build was successful but when i debug i am getting an error in CreateResolver method of IDependencyResolver function.
Attached is the snapshot of the exception, Please help
Thank you for this detailed report. Unfortunately, I'm unfamiliar with Sitecore, let alone GlassMapper, let alone changes from v4 to v5. The exception runs deep inside GlassMapper, so you mifht want to open their source code to see what causes the null ref.
Wow... quite a lot actually... I can't give you a list from memory, but you should start by looking at the major changes in the major releases v3.0 and v4.0:
Please also note the warning in the release notes: