Before installingGlass.Mapper.Sc add the following references to your project:

  • Sitecore.Kernel.dll
  • System.Web.Mvc.dll

Both these files can be found in the bin folder of your Sitecore solution. 

Glass.Mapper.Sc use these assemblies to determine which version of the Glass.Mapper.Sc assemblies to install.

Once you have added the references above to your project you can download Glass.Mapper.Sc from Nuget. Open the Nuget Package Manager and search for Glass.Mapper.Sc:

Glass.Mapper.Sc V4 Nuget Package in Package Manager

The Nuget package will add references to the Glass.Mapper.dll, Glass.Mapper.Sc.dllGlass.Mapper.Sc.Mvc.dll and Castle.Core.dll:

V4 Reference add to Project

The Nuget package also install some additional CS files and config files:

Glass.Mapper.Sc V4 Files added to Project

You are now ready to start working with Glass.Mapper.

Why haven't the Glass.Mapper.Sc been added to my project?

Check that you have added the assemblies listed at the top of this page and then reinstall the Nuget package.