Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1061: 'Glass.Mapper.Sc.Fields.Image' does not contain a definition for 'SrcMobile' and no extension method 'SrcMobile' accepting a first argument of type 'Glass.Mapper.Sc.Fields.Image' could be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 9:          /* default*/
Line 10:         .header-main .bg-wrapper {
Line 11:           background-image: url("@(modelP.HeaderImage.SrcMobile ?? modelP.HeaderImage.Src)");
Line 12:         }
Line 13:         @if (modelP.HeaderImage.SrcMobileRetina != null)

Source File: d:\inetpub\wwwroot\sc10ctig.cd2\Views\B2C\Home\Terms.cshtml    Line: 11






Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4690.0