I am trying to use OnException for error handling in ASP.NET Core 6 MVC, but I am getting an error: "No suitable method found to override"

42 views Asked by At

This type of error also appears when I try to use filter attribute ([HandleError]), not just that I'm not able to use HTML helpers like @helper tag.

I tried installing MVC from package console (according to Chat GPT) but that didn't work. I am using Visual Studio 2022

0

There are 0 answers