After creating a new Azure Function app running on .NET6 project in Visual Studio 2022, I'm getting errors (I I didn't change anything in the newly created project):
The type or namespace name '
actionresult' could not be found
My .csproj file:
I tried repairing visual studio 2022. I have the same issue if I create a function app in .NET5, .NET3. If someone also had this issue it would be great. Thank you.

ActionResult