Question: how do i add a reference to the system configuration dll?
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;