One or more compilation failures occurred:
tmlvzkxy.asb(918,1871): error CS1031: Type expected
tmlvzkxy.asb(918,2055): error CS1031: Type expected
tmlvzkxy.asb(918,2239): error CS1031: Type expected
tmlvzkxy.asb(918,1919): error CS1061: 'ContactUsModel' does not contain a definition for 'Phone' and no extension method 'Phone' accepting a first argument of type 'ContactUsModel' could be found (are you missing a using directive or an assembly reference?)
tmlvzkxy.asb(918,2103): error CS1061: 'ContactUsModel' does not contain a definition for 'Phone' and no extension method 'Phone' accepting a first argument of type 'ContactUsModel' could be found (are you missing a using directive or an assembly reference?)
tmlvzkxy.asb(918,2287): error CS1061: 'ContactUsModel' does not contain a definition for 'Phone' and no extension method 'Phone' accepting a first argument of type 'ContactUsModel' could be found (are you missing a using directive or an assembly reference?)
Presentation\Nop.Web\Themes\Flexo\Views\Common\ContactUs.cshtml (I am using a theme)
<div class="inputs">
<label asp-for="Phone" asp-postfix=":"></label>
<input asp-for="Phone" placeholder="@T("ContactUs.Phone.Hint")" class="phone" />
<nop-required />
<span asp-validation-for="Phone"></span>
</div>
Presentation\Nop.Web\Models\Common\ContactUsModel.cs
[Required]
[DataType(DataType.PhoneNumber)]
[NopResourceDisplayName("ContactUs.Phone")]
public string Phone { get; set; }
Can anyone help with error.