Vamshi
Vamshi

Reputation: 145

Sitecore Glass Mapper Installation Issue

After installing latest Glass Mapper I am seeing this issue: Could not load type 'Glass.Mapper.IDependencyResolver' from assembly 'Glass.Mapper, Version=4.2.1.188, Culture=neutral, PublicKeyToken=null'.

Sitecore Version : Sitecore.NET 8.1 (rev. 160519) Glass Mapper : Glass.Mapper.Sc

Yes before installation the project had references to Sitecore.Kernel and Sitecore.Mvc dlls.

Did anyone encounter this issue before?

Upvotes: 0

Views: 884

Answers (1)

Vamshi
Vamshi

Reputation: 145

After banging my head finally I found out the reason... In the project there was an old glass mapper v3 or below was installed & uninstalled which didn't complete all the way through. It deleted all the references from the project but it didn't delete all the config files. It left glass.config in the app config folder and the include folder. After deleting these two files it started working as expected.

Upvotes: 0

Related Questions