I had a doubt if I can use an appsettings.json file in Azure Functions? I referred to this documentation for environment variables: https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-csharp#environment-variables
But I am using Octopus for deployments and would really like to have appsettings version controlled.
I have tried this:
{
  "frameworks": {
    "net46": {
      "dependencies": {
        "Microsoft.Extensions.Configuration": "1.0.0",
        "Microsoft.Extensions.Configuration.Json": "1.0.0"
      }
    }
  }
}
But I'm getting the following error:
2016-11-23T15:27:03.811 (12,16): error CS0012: The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0
Kindly help.