|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
vs 2005 c#: where is configurationmanager class?hi, i have a web project that was converted to .net 2.0.
i am trying to read a value from web.config; however, i can't see to have access to configurationmanager class rather i only see configurationsettings class. then i created a brand new project in vs 2005 and noticed that i have access to configurationmanager class fine. so it makes me think that there is something has to do with this project which was convereted from .net 1.1 to 2.0. but i am not sure how to fix it. any thought? thanks....a found the solution.
i had to manually add a reference to system.configuration Show quote "Ace" wrote: > hi, i have a web project that was converted to .net 2.0. > i am trying to read a value from web.config; however, i can't see to have > access to configurationmanager class rather i only see configurationsettings > class. > > then i created a brand new project in vs 2005 and noticed that i have access > to configurationmanager class fine. > > so it makes me think that there is something has to do with this project > which was convereted from .net 1.1 to 2.0. but i am not sure how to fix it. > > any thought? > > thanks....a |
|||||||||||||||||||||||