Failed to resolve type name: Glass.Mapper.Sc.Pipelines.Response.GetModel, Glass.Mapper.Sc

I am trying to use Glass Mapper in my MVC project - v4.0.30319 in Sitecore - 7.1.

Below is my version of Glass Mapper in which I installed

  • Glass Mapper Version - 3.0.10.23
  • Glass.Mapper.Sc version - 3.2.0.39
  • Glass.Mapper.Sc.Mvc Version - 3.2.0.34

When I installed Glass mper from Mug from nuget, he added a configuration file called (Glass.Mapper.Sc.Mvc) to App_Config -> include folder

The contents of the file are as follows

<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
  <sitecore>
      <settings></settings>
    <pipelines>



      <mvc.getModel>
        <processor type="Glass.Mapper.Sc.Pipelines.Response.GetModel, Glass.Mapper.Sc"/>
      </mvc.getModel>

    </pipelines>
  </sitecore>
</configuration>

Now, when I launch my site, it gives me the error below (when starting the pipeline mentioned in the above configuration)

: Glass.Mapper.Sc.Pipelines.Response.GetModel, Glass.Mapper.Sc(: Sitecore.Configuration.Factory.CreateType(XmlNode configNode, String [] , ))

?

- ? - .

+4
1

Glass Mapper MVC . , , Glass.Mapper.Sc.Mvc, :

<mvc.getModel>
    <processor type="Glass.Mapper.Sc.Pipelines.Response.GetModel, Glass.Mapper.Sc.Mvc"/>
</mvc.getModel>
+7

Source: https://habr.com/ru/post/1545172/


All Articles