I keep getting this exception on the build.
it stops at this line:
IConfigurationRoot config = builder.Build();
and gives this exception:
System.IO.FileNotFoundException: 'Could not load file or assembly 'Microsoft.Azure.AppConfiguration.AzconfigClient, Version=1.0.0.0, Culture=neutral, PublicKeyToken=69dad7634abb75e4' or one of its dependencies. The system cannot find the file specified.'
I have tried to add this reference in the packages.config :
<package id="Microsoft.Azure.AppConfiguration.AzconfigClient" Version="1.0.0-preview-008870001-1052" targetFramework="net472"/>
but it still do not work.
var builder = new ConfigurationBuilder(); //new config builder
builder.AddAzureAppConfiguration(Environment.GetEnvironmentVariable("ConnectionString")); //get the connecting string
IConfigurationRoot config = builder.Build(); //call the build method in config builder
I am expecting it to build so that I can use the config variable.