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.
Check your namespaces in your project. I got this when I renamed my root namespace and project file and I forgot one reference in the _ViewImports.cshtml file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With