Hi I am facing following error while building an MVC core application.

> 
> Severity Code Description Project Line Suppression State File
>  Error CS0246 The type or namespace name 'ErrorModel' could not be
>  found (are you missing a using directive or an assembly
>  reference?) JSViewer\_Angular(Core) 86 Active C:\Users\user\Desktop\JSViewer\_Angular(Core)\obj\Debug\net462\Razor\Pages\Error.g.cshtml.cs
> 
> 
> 

Any ideas behind this error.