Error in Azure Function VS projects:

There is no Functions runtime available that matches the version specified in the project.

Fix:

I eventually found the solution for my case and I will post it here if anyone else faces it. As mentioned in a comment from this Github issue, I had to go to

Tools -> Options -> Projects & Solutions -> Azure functions and click on the “Check for updates” button.

And then I had to download and install the pending updates.

This seems to have solved my issue. Hopefully this solution will help others too.

Sources:

https://stackoverflow.com/questions/75146087/running-azure-functions-locally-gives-no-runtime-error-after-net7-upgrade

Last modified: November 22, 2024

Author

Comments

Write a Reply or Comment