Type universe cannot resolve assembly: System.Configuration AND Cannot resolve Assembly or Windows Metadata file 'System.Configuration.dll

Zia Ur Rahman picture Zia Ur Rahman · Mar 31, 2016 · Viewed 13.9k times · Source

I am developing UWP App via VS2015 in Win10. My App was running perfect, but just today when I start running my App, even I didn't make changes of such ... and It shows 2 errors and is not running now.

1. Type universe cannot resolve assembly: System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.      

2. Cannot resolve Assembly or Windows Metadata file 'System.Configuration.dll'  

What is these errors ... I didn't find the satisfactory solution

enter image description here

Answer

Robert Corvus picture Robert Corvus · Mar 8, 2017

I was able to resolve this by checking "Automatically check for missing packages during build in Visual Studio" (the "Allow NuGet to download missing packages" was already checked), then rebuilding. You can find these settings in Tools --> NuGet Package Manager --> Package Manager Settings.