I'm working on a C# class library that needs to be able to read settings from the
app.config file (depending on whether the DLL is referenced from an ASP.NET web application or a Windows Forms application).
I've found that
works, but that code has been marked as deprecated by Microsoft.
I've read that I should be using:
System.Configuration.ConfigurationManager class doesn't seem to be available from a C# Class Library project.
What is the best way to do this?