[英]Azure Function App won't run on Visual studio 2017 Requiring .NET Framework 4.7.1
I had my Azure function running by yesterday but after updating windows to Version 17755.1 the app fails to run with n error requesting .NET Framework version 4.7.1 to be installed. 我的Azure函数在昨天运行,但是将Windows更新到版本17755.1后,该应用程序无法运行,并出现n错误,要求安装.NET Framework 4.7.1版。 I have counterchecked on my pc and actually the .NET Framework version 4.7.1 is installed.
我已经在我的PC上进行了复核,并实际上安装了.NET Framework 4.7.1版。 I tried to install the it from here but it won't install.
我尝试从此处安装它,但无法安装。
That build of Windows appears to have a general issue running any .NET app that targets 4.7.1. 运行任何以4.7.1为目标的.NET应用程序时,该Windows版本似乎存在一般问题。
Here is a workaround: 这是一种解决方法:
%LOCALAPPDATA%\\AzureFunctionsTools\\Releases\\[cliversion]\\cli
%LOCALAPPDATA%\\AzureFunctionsTools\\Releases\\[cliversion]\\cli
Change the supportedRuntime tag to target 4.7.2 instead of 4.7.1 将supportedRuntime标记更改为目标4.7.2而不是4.7.1
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.