[英]How to update Azure functions from .netcore 3.x to .net 5.0
https://docs.microsoft.com/en-us/azure/azure-functions/functions-run-local?tabs=windows%2Ccsharp%2Cbash#v2 https://docs.microsoft.com/en-us/azure/azure-functions/functions-run-local?tabs=windows%2Ccsharp%2Cbash#v2
Unfortunately i get this result: func --version 2.7.1948
不幸的是我得到了这个结果: func --version 2.7.1948
What else?还有什么?
After some time I found the helpful command where
in cmd.一段时间后,我在 cmd where
找到了有用的命令。
where func
C:\ProgramData\chocolatey\bin\func.exe
C:\Program Files\Microsoft\Azure Functions Core Tools\func.exe
C:\Program Files (x86)\Microsoft\Azure Functions Core Tools\func.exe
Surprising that Visual Studio 2019 uses chocolately when installing azure function-core tools.令人惊讶的是,Visual Studio 2019 在安装 azure 功能核心工具时使用巧克力。
This command resolves the problem:此命令可解决问题:
choco upgrade all
Yeah:是的:
func --version 3.0.3331
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.