Adding ConfigurationManager class into Windows Forms Projects

Last night I was just going through a tutorial and at some point i had to use .NET Framework’s ConfigurationManager class. But, while i was typing it wasn’t on the suggested reserved word list. And even if when i was typing it according to lower and upper case format, it wasn’t exist. So I made a little search on this and solution was little hard to find. Then i decided to post solution here to spread it.

Anyway, in order to use ConfigurationManager class in our project, we should add reference to System.Configuration into the project, rather than simply adding it with using statement. We should click on Project option in the file menu of Visual Studio and click on “Add Reference” option. Then searching through the .NET Components for System.Configuration

Yorum bırakın

Filed under Windows Form Applications

Bir Cevap Yazın

Aşağıya bilgilerinizi girin veya oturum açmak için bir simgeye tıklayın:

WordPress.com Logosu

WordPress.com hesabınızı kullanarak yorum yapıyorsunuz. Log Out / Değiştir )

Twitter resmi

Twitter hesabınızı kullanarak yorum yapıyorsunuz. Log Out / Değiştir )

Facebook fotoğrafı

Facebook hesabınızı kullanarak yorum yapıyorsunuz. Log Out / Değiştir )

Google+ fotoğrafı

Google+ hesabınızı kullanarak yorum yapıyorsunuz. Log Out / Değiştir )

Connecting to %s