'Errors after creating new Azure Function app in .NET 6
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.
Solution 1:[1]
Ok I'm found the solution. Deleting all folders and files from:
C:\Users\User_name\.nuget\packages
solved the issue.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Racki Kamil |

