Converting from 1.1 -> 2.0

J

Jayyde

I'm currently converting an existing application from .NET 1.1 to 2.0. I'm
down to the point where I'm only having one issue, but I'm not sure why. I
have the line:

ConfigurationSettings.GetConfig("WinAppConfig")



Where ConfigurationSettings.GetConfig has been depreciated in favor of:



System.Configuration.ConfigurationManager.GetSection("WinAppConfig")



The problem is when I change it, firstly ConfigurationManager does not show
in the intellisense, but also it gives a compile error of "The name
'ConfigurationManager' does not exist in the current context." I'm not sure
what exactly I need to change to get this to work. This is the last change
I need to make. I searched online, but haven't found any one else having
the same issues.



TIA,

Jayyde
 
J

Jayyde

Went back and already did that actually and the class is found fine, but now
it's complaining about undefined schemas for every section in there and it
won't pull it up. I don't get any complie errors or warnings, just 101
messages (literally), then it craps out when it runs. Oh, how I love being
forced to use third party frameworks :\.
 

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

Top