Home > Blockchain >  Unable to use System.Configuration.ConfigurationManager in Azure functions [closed]
Unable to use System.Configuration.ConfigurationManager in Azure functions [closed]

Time:10-09

System.Configuration.ConfigurationManager is not working in Azure App Functions v3.

When ConfigurationManager is called a FileNotFoundException is thrown.

FileNotFoundException: Could not load file or assembly 'System.Configuration.ConfigurationManager, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.

Using nuget package System.Configuration.ConfigurationManager 5.0.0

Does anyone have a solution for this?

CodePudding user response:

I have found the solution. I downgrade the nuget package to System.Configuration.ConfigurationManager to 4.7.0.

https://github.com/influxdata/influxdb-client-csharp/issues/242

  • Related