Hi @******@ichoosr.com I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer.
Error Message:
There is no Functions version available that matches with the version specified in the project.
Issue:
Tried to update the Azure Core tools version in old project to newer version and encountered this issue.
Solution:
With the .csproj file the version has to passed through AzureFunctionsVersion
attribute and it has to be v4
which is case sensitive. Using the value as V4
caused this issue. Below are the correct settings
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<AzureFunctionsVersion>v4</AzureFunctionsVersion>
</PropertyGroup>
If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.
I hope this helps!
If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue.