We have updated our base solution which just contains a few example renderings from Sitecore 8.1 to 8.2. Note: we are still using VS 2013, but I don't think this should be any problem?
I have updated the references and I think I've tried just about everything in terms of removing and re-adding references, deleting readding and updating Nuget packages.
In my Views whenever I use Glass Mapper editable e.g.
x=>x.HeaderText underlined with this error:
Error 4 Cannot convert lambda expression to type 'System.Linq.Expressions.Expression<System.Func<Project.Entities.HeaderSettings,object>>' because it is not a delegate type c:\Projects\SitecoreMVC\Code\SitecoreMVC\Project.Web\Views\Shared\_Header.cshtml
I can't figure out what has changed. Can anyone help?