I have both version v3 and v4 installed of Azure Functions Core Tools on windows.
How do I start a function using a specific version of Azure Functions Core Tools?
When I do like this:
c:\code> func start
That will start v3.
I can get it to use v4 using hardcoded path:
c:\code> c:\Users\xxx\AppData\Local\AzureFunctionsTools\Releases\4.10.1\cli_x64\func.exe start
But how do I prevent using path that will change from version to version?
Glad that your issue got resolved based on my comments I am converting that as an answer to help the other community members who face similar kind of issues.