Hi guys.
I found a very strange problem in my .net 2.0. I can not find the
configurationmanager class from my system.configuration namespace.
did someone have the same problem? Please give me some reason why i have
this problem.

Re: Configuration in .net 2.0 by Michael

Michael
Sun Mar 26 23:42:23 CST 2006

Hello Alien,

Strange, use Reflector to find whether it is in System.Object->System.Configuration.ConfigurationManager

A> Hi guys.
A> I found a very strange problem in my .net 2.0. I can not find the
A> configurationmanager class from my system.configuration namespace.
A> did someone have the same problem? Please give me some reason why i
A> have
A> this problem.
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche



Re: Configuration in .net 2.0 by Alien

Alien
Sun Mar 26 23:49:46 CST 2006

hi Michael
yes I know it's strange. coz when i type System.Configuration. The
intelligent menu only show me the configuationsettings and
configurationexceptions. And I type the
System.Configuration.ConfigurationManager manually. The VS2005 give me an
error message.

I really have no idea about what happening here....

cheers


"Michael Nemtsev" <nemtsev@msn.com> wrote in message
news:9cc1c86384f1e8c81f99e249cf20@msnews.microsoft.com...
> Hello Alien,
>
> Strange, use Reflector to find whether it is in
> System.Object->System.Configuration.ConfigurationManager
>
> A> Hi guys.
> A> I found a very strange problem in my .net 2.0. I can not find the
> A> configurationmanager class from my system.configuration namespace.
> A> did someone have the same problem? Please give me some reason why i
> A> have
> A> this problem.
> ---
> WBR,
> Michael Nemtsev :: blog: http://spaces.msn.com/laflour
>
> "At times one remains faithful to a cause only because its opponents do
> not cease to be insipid." (c) Friedrich Nietzsche
>
>



Re: Configuration in .net 2.0 by jan

jan
Mon Mar 27 01:09:38 CST 2006

What error message do you get?


Re: Configuration in .net 2.0 by Nick

Nick
Mon Mar 27 04:06:32 CST 2006

"Alien" <alien2000@21cn.com> wrote in message
news:O$VKWZVUGHA.5108@TK2MSFTNGP09.phx.gbl...
> Hi guys.
> I found a very strange problem in my .net 2.0. I can not find the
> configurationmanager class from my system.configuration namespace.
> did someone have the same problem? Please give me some reason why i have
> this problem.

You have to add a reference the System.Configuration assembly.

Always check the documentation:

.NET Framework Class Library
ConfigurationManager Class
Note: This class is new in the .NET Framework version 2.0.

Provides access to configuration files for client applications. This class
cannot be inherited.

Namespace: System.Configuration
Assembly: System.Configuration (in system.configuration.dll)





Re: Configuration in .net 2.0 by Dave

Dave
Wed Mar 29 05:21:02 CST 2006

Have you added a reference to System.configuration.DLL? In .NET 2.0 the
ConfigurationManager is implementated in that DLL...

"Alien" wrote:

> hi Michael
> yes I know it's strange. coz when i type System.Configuration. The
> intelligent menu only show me the configuationsettings and
> configurationexceptions. And I type the
> System.Configuration.ConfigurationManager manually. The VS2005 give me an
> error message.
>
> I really have no idea about what happening here....
>
> cheers
>
>
> "Michael Nemtsev" <nemtsev@msn.com> wrote in message
> news:9cc1c86384f1e8c81f99e249cf20@msnews.microsoft.com...
> > Hello Alien,
> >
> > Strange, use Reflector to find whether it is in
> > System.Object->System.Configuration.ConfigurationManager
> >
> > A> Hi guys.
> > A> I found a very strange problem in my .net 2.0. I can not find the
> > A> configurationmanager class from my system.configuration namespace.
> > A> did someone have the same problem? Please give me some reason why i
> > A> have
> > A> this problem.
> > ---
> > WBR,
> > Michael Nemtsev :: blog: http://spaces.msn.com/laflour
> >
> > "At times one remains faithful to a cause only because its opponents do
> > not cease to be insipid." (c) Friedrich Nietzsche
> >
> >
>
>
>

Re: Configuration in .net 2.0 by Naveen

Naveen
Wed Apr 12 08:22:32 CDT 2006

Thanks. I was also struggling with this problem. After adding reference System.configuration.dll
to my project, problem resolved.

Re: Configuration in .net 2.0 by dotnetguy

dotnetguy
Wed Apr 12 08:22:43 CDT 2006

Thanks. I was also struggling with this problem. After adding reference System.configuration.dll
to my project, problem resolved.