Search code examples
azureazure-functionsazure-deployment

Unable to publish the azure functions


We have a Azure Function which is built in .Net Framework 4.6 and recently we have updated the Azure Functions with .Net Framework 4.8 which works good in locally. So we tried to publish this to Live by going to select the existing Azure Function as below image.

enter image description here

But we are unable to publish due to below error (Publish has encountered an error).

enter image description here

Can you please suggest me If I missed any settings/configuration.


Solution

  • As far as i know, azure function v1 support dotnet framework4.7 as the document shows: enter image description here

    I test it in my side with dotnet framework 4.8 and show the same error message as you, so i think you'd better change the dotnet framework from 4.8 to 4.7.