I'm following the quickstart and I encouter:
FileNotFoundException: Could not load file or assembly 'Microsoft.Configuration.ConfigurationBuilders.AzureAppConfiguration' or one of its dependencies. The system cannot find the file specified.
Framework: Net48
Type: Console
Visual Studio: VS2019 Enterprise 16.1.3
Environment Variable: Confirmed
There are three missing references and I cannot find them as NuGet packages (preview is selected):

AppConfiguration.DemoConsole.Framework.csproj.txt
Microsoft.Configuration.ConfigurationBuilders.AzureAppConfiguration.pdf
Microsoft.IntelliTrace.ObjectModel.pdf
App.config.txt
@HashTagDotNet can you please remove the package reference of Microsoft.Extensions.Configuration.AzureAppConfiguration, do a clean rebuild and see if that helps?
Removing the package reference:
*Microsoft.Extensions.Configuration.AzureAppConfiguration
*did not work. I removed the packaged, deleted bin/obj files, did a
"clean" on the solution, verified the package was not in the bid/debug
folder, purged Package cache.
I am still getting this error:
System.Configuration.ConfigurationErrorsException
HResult=0x80131902
Message=An error occurred loading a configuration file: Could not load
file or assembly
'Microsoft.Configuration.ConfigurationBuilders.AzureAppConfiguration' or
one of its dependencies. The system cannot find the file specified. (C:\src\
macropoint-lite.com\Common\MPConfiguration__Demos\AppConfiguration.DemoConsole.Framework\bin\Debug\AppConfiguration.DemoConsole.Framework.exe.Config
line 15)
Source=System.Configuration
StackTrace:
at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[]
keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord,
SectionRecord sectionRecord, Object parentResult)
at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord
factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean
getLkg, Boolean getRuntimeObject, Object& result, Object&
resultRuntimeObject)
at
System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String
configKey, Boolean getLkg, Boolean checkPermission, Boolean
getRuntimeObject, Boolean requestIsHere, Object& result, Object&
resultRuntimeObject)
at
System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String
configKey, Boolean getLkg, Boolean checkPermission, Boolean
getRuntimeObject, Boolean requestIsHere, Object& result, Object&
resultRuntimeObject)
at
System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String
configKey, Boolean getLkg, Boolean checkPermission, Boolean
getRuntimeObject, Boolean requestIsHere, Object& result, Object&
resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSection(String
configKey)
at
System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String
sectionName)
at System.Configuration.ConfigurationManager.get_AppSettings()
at AppConfiguration.DemoConsole.Framework.Program.Main(String[] args) in
C:\src\macropoint-lite.com\Common\MPConfiguration__Demos\AppConfiguration.DemoConsole.Framework\Program.cs:line
14
Inner Exception 1:
FileNotFoundException: Could not load file or assembly
'Microsoft.Configuration.ConfigurationBuilders.AzureAppConfiguration' or
one of its dependencies. The system cannot find the file specified.
On Wed, Aug 21, 2019 at 5:21 PM Zhenlan Wang notifications@github.com
wrote:
@HashTagDotNet https://github.com/HashTagDotNet can you please remove
the package reference of
Microsoft.Extensions.Configuration.AzureAppConfiguration, do a clean
rebuild and see if that helps?—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Azure/AppConfiguration/issues/130?email_source=notifications&email_token=ABLNTGOSZT365PS4RIW6N4DQFWWVTA5CNFSM4IONORQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD43FKAI#issuecomment-523654401,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABLNTGOOF4OKLX22CTLFE7DQFWWVTANCNFSM4IONORQA
.
@HashTagDotNet I cannot tell what went wrong from this error. Would it be possible for you to share a repro with us?
@HashTagDotNet did you figure this out? I'm experiencing the same issue.
I'll build a repo and share early next
On Sat, Aug 31, 2019, 6:50 PM sk1tt1sh notifications@github.com wrote:
@HashTagDotNet https://github.com/HashTagDotNet did you figure this
out? I'm experiencing the same issue.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Azure/AppConfiguration/issues/130?email_source=notifications&email_token=ABLNTGI6VETK65GLRJHKCKDQHLYUNA5CNFSM4IONORQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5TWS3Y#issuecomment-526870895,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABLNTGK6PFX663XO56SQ7CDQHLYUNANCNFSM4IONORQA
.
@HashTagDotNet Any chance you can just point me in the right direction? I have been messing with this for a couple days now so just pointing at a file or couple steps will probably be enough.
I've added a repo that has both a working example and one that doesn't work. https://github.com/HashTagDotNet/Azure-AppConfig-Error
@HashTagDotNet thanks for sharing the repro. It's very helpful.
I took a look of the repro that doesn't work and here are a few issues I see with the file AppConfiguration.DemoConsole.Framework-error.csproj.
..\..\..\packages\ to ..\packages\. If you do set a different package restore folder, this could be fine for you, but according to the error you got, this is likely the root cause of the issue.Here are a couple of other issues I also fixed
ConfigurationManager. I removed the reference to this package and its dependent packages (please see screenshot for details).AzconfigClient and ManagedIdentityConnector were messed up. I fixed them accordingly (please see screenshot below). Normally, you shouldn't need to do this manually.With the above fixes, your repro works fine for me. Here is a screenshot (partial) of fixes I made.

@HashTagDotNet Thanks for the repos it helped confirm what I found to be the cause of my issues. @zhenlan I found similar problems on projects that are upgraded from previous versions of .net framework as well. I managed to work around the issue by creating a new project targeting 4.7.1 and moving all my files over.
@sk1tt1sh I'm glad your issue is solved. The decade-old full framework project system does struggle with package references sometimes. Starting with a new project is not a bad idea to solve issues like this.
@HashTagDotNet please let us know if your issue is also solved. I am closing this issue for now.