Oct 23, 2020 01:29 PM|johnboyman12|LINK
Hello. I am running an mvc5 website. My ms visual compiler is giving me this error.
Severity Code Description Project File Line Suppression State
Error CS0012 The type 'Expression<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Core, Version=22.214.171.124, Culture=neutral, PublicKeyToken=b77a5c561934e089'. 1_Views_Home_Account.cshtml C:\Users\MyName\source\repos\VmFusion2020\VmFusion2020\Views\Home\Account.cshtml
The error is comping from this code in my .cshtml files. @Html.LabelFor , @Html.PasswordFor , Html.ValidationMessageFor.......
I tried to add that assembly but the compiler says its already added by default. I never had this issue before. Is anyone familiar with this problem . Thanks for any tips.