Search code examples
.netapp-configconfigurationmanager

ConfigurationManager not found


I am new to VS 3.5 and I am writing a console app that needs to pull some key values from the app.config file.

I have:

Imports System.Configuration 

and I am trying to reference ConfigurationManager.AppSettings but this generates an error:

Name ConfigurationManager is not declared

What am I missing?


Solution

  • Make sure you have a reference to the assembly System.Configuration.dll