Reputation: 9171
I can't seem to get Azure functions running for Visual Studio 2022 for mac.
I am able to run the functions ok in Visual Studio Code.
The functions come up ok in the terminal for Visual Studio 2022, but when I invoke the function I get this error:
An unhandled host error has occurred. [2022-10-03T00:50:25.613Z] Microsoft.Azure.WebJobs.Host: 'yourFunctionName' can't be invoked from Azure WebJobs SDK. Is it missing Azure WebJobs SDK attributes?.
Tried uninstalling and reinstalling but no luck
Upvotes: 0
Views: 1048
Reputation: 9171
I reintalled visual studio. I installed .net core and the .net tools.
It still was not working.
Then I cleaned the project and it started working.
Upvotes: 0