Question: how to add system.configuration.dll reference in visual studio 2017?
Answer: Right click the project and choose add reference, browse "Assemblies" and tick the System. Configuration assembly. Include the namespace in code: using System.Configuration;