You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Immediately after having installed version 4.0.6610 using the x64 MSI on my Windows 11 system, when I run "func" without arguments it runs "func help" and at the bottom of the output, you see:
"You are using an old Core Tools version. Please upgrade to the latest version."
I can confirm the version by running
func --version
which reports 4.0.6610
Note that this looks similar to #3776 which is about the similar symptoms after a chocolatey install. At least I assume it's not the same issue, because that one is Closed, and I'm experiencing the issue on the latest.
Steps to reproduce
Install version 4.0.6610 using the x64 MSI on a Windows 11 system
run "func" and page to the bottom of the output.
Observe the following text.
"You are using an old Core Tools version. Please upgrade to the latest version."
The text was updated successfully, but these errors were encountered:
I just looked at the code and it's pulling data from https://functionscdn.azureedge.net/public/cli-feed-v4.json, looking up the v4 release from the tags and then finding the release and fishing the release number out of the download URL (which is different, or more specific I guess)
Anyway it looks like the version you get by doing this with the json doesn't match the version that Constants.CliVersion gets from the assembly version.
One other thing to note is that even though I'm on windows, it's parsing the download link for linux. It just grabs the first one.
So given that this is quite a complex mechanism, it will presumably need to be fixed by someone who understands why it's done like that.
Version
4.0.6610
Description
Immediately after having installed version 4.0.6610 using the x64 MSI on my Windows 11 system, when I run "func" without arguments it runs "func help" and at the bottom of the output, you see:
"You are using an old Core Tools version. Please upgrade to the latest version."
I can confirm the version by running
func --version
which reports 4.0.6610
Note that this looks similar to #3776 which is about the similar symptoms after a chocolatey install. At least I assume it's not the same issue, because that one is Closed, and I'm experiencing the issue on the latest.
Steps to reproduce
Install version 4.0.6610 using the x64 MSI on a Windows 11 system
run "func" and page to the bottom of the output.
Observe the following text.
"You are using an old Core Tools version. Please upgrade to the latest version."
The text was updated successfully, but these errors were encountered: