question

SA400-2988 avatar image
0 Votes"
SA400-2988 asked SA400-2988 answered

Azure Function App: Unable to get configurations and setting bootstrap classes.

Hello ,

We have a function app V3 running locally on dev machine, but throwing error when deployed to Azure. Can any one provide how to troubleshoot this issue, we have gone through various Github issues and lot of internet forum searches, everywhere it was suggested to downgrade the Nuget packages, but it was not helpful.



104857-image.png


azure-functions
image.png (38.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SA400-2988 avatar image
0 Votes"
SA400-2988 answered

Hi,
using--> [assembly: WebJobsStartup(typeof(Startup))]
And
Microsoft.Extensions.Configuration v5.0 downgraded this dependency to v3.1.13 and it worked.

I don't know why the dependency of Microsoft.Extensions.Configuration is pulled of latest version on .netcore 3.1

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.