Description
I am getting the following error when using the AKV Builder and running a project on local IIS. The error does not occur with IIS Express. It also does not occur with appSettings, it is only with connecitonStrings.
To reproduce the error:
Launch VS 2019 as Admin
Created a new ASP.NET MVC project.
Changed the target framework to .NET 4.7.2.
Added the package for Microsoft.Configuration.ConfigurationBuilders.Azure v.2.0.0
Change the deploy target to Local IIS
Added the configBuilders="AzureKeyVault" attribute to the connectionStrings.
Following the instructions here: https://github.com/MicrosoftDocs/azure-docs/issues/17023#issuecomment-432340315 I am able to access the Key Vault even though the error still appears when starting the site via VS. Is it possible to prevent this error?