I published my Azure Function, it run as expected. Then I updated the code a bit without changing any configurational value. Now my function.json file is missing in Azure and my function is not running…
I published with new profile. I was expecting to see function.json file.
2
Answers
Restarting visual studio and redeploying the app fixed the issue. I really hate microsoft's technologies...
Glad @FurkanKaracan, that you have resolved the issue by restarting the IDE and redeploying it.
Function.json
file missing issue will be caused if the function project is deployed with Runtime Issues..csproj
fileMicrosoft.NET.Sdk.Functions
NuGet Package.I have checked the following test cases to make the
function.json
file missing in the Code+Test menu:That file was visible perfectly how many times I redeploy the project to function app in the Azure Portal.
As per my experience, it might be some deployment issues while publishing.
Refer to this MS Doc for more info on
function.json
file.