problem with accessing the configuration manager class

  • Thread starter Thread starter muthu
  • Start date Start date
M

muthu

Hi guys,

Iam using dot framework 2.0.vs.net2005.I created a class library
project and added a class file.And also i added a app.config file.And i
declared a connection string in that config file.Now for accessing the
connection string i tried to assess the configuration manager class but
it throws an error saying that no refernce for
configurationmanager.appsettings.Even though i included configuration
namespace i get this error.Can any one guess wat the problem is.
 
Do you have a reference to the System.Configuration dll? In your class
library project?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top