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: 'CheckYourNutrition.Models.RegisterViewModel' does not contain a definition for 'RememberMe' and no extension method 'RememberMe' accepting a first argument of type 'CheckYourNutrition.Models.RegisterViewModel' could be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 35:                         <div class="col-xs-12 padding-0 margin-top-10">
Line 36:                             <div class="col-xs-6 text-align-left padding-0 ">
Line 37:                                 @Html.CheckBoxFor(m => m.RememberMe, new { @checked = "" })
Line 38:                                 @Html.LabelFor(m => m.RememberMe, new { @class = "" })
Line 39:                             </div>

Source File: c:\inetpub\wwwroot\CheckYourNutrition\Views\Account\Register.cshtml    Line: 37






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