As many out there, I am trying to use the ConfigurationManager class to read a ConectionString stored in a Web.Config file. The class is not recognized even though I have checked that System.Configuration is referenced by the project and I have added the
using System.Configuration statement at the beginning of the code file. When I tried to add System.Configuration to the project, visual studio stated that the library is already referenced, although, it is not recognized in the using statement in the code
file. How do I resolve this issue?
↧