Reputation: 107
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. I have counterchecked on my pc and actually the .NET Framework version 4.7.1 is installed. I tried to install the it from here but it won't install.
Upvotes: 2
Views: 514
Reputation: 43183
That build of Windows appears to have a general issue running any .NET app that targets 4.7.1.
Here is a workaround:
%LOCALAPPDATA%\AzureFunctionsTools\Releases\[cliversion]\cli
Change the supportedRuntime tag to target 4.7.2 instead of 4.7.1
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
Upvotes: 3