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: CS0246: The type or namespace name 'SitecoreContext' could not be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 104:                 <% foreach (var shareLinkId in Model.Share_Links)
Line 105:                   {
Line 106:                       var shareLink = new SitecoreContext().GetItem<Chd.Common.Share_Link>(shareLinkId); %>
Line 107:                <li>                  
Line 108:                    <% if (shareLink.Share_Insert_Code.Trim()=="")  {%>  

Source File: C:\home\site\wwwroot\Brands\VMS\Sublayouts\Layouts\Accuflora.ascx    Line: 106





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