wyrd
Senior Contributor
I was going to start toying around with dynamic properties in my application but came across some funkyness...
- There was no Program.exe.config file in my program directory, and I saw no option to create one, so I went ahead and create an xml file and called it Program.exe.config.
- System.Configuration exists, but System.ConfigurationSettings does not.
Despite these oddities, I went ahead and tried to run my app anyway, and got this error:
C:\Documents and Settings\Administrator\My Documents\vp\Inventory\Inventory.cs(39): The type or namespace name 'ConfigurationSettings' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
I got a REALLY weird error the first time I tried to run the app, saying a control I was referencing was in use or something *shrug*
Anyway, so I went to References/Add Reference and scrolled down to find System.ConfigurationSettings.dll. Nothing there, the only thing I found was System.Configuration.Install.dll.
What am I doing wrong?
- There was no Program.exe.config file in my program directory, and I saw no option to create one, so I went ahead and create an xml file and called it Program.exe.config.
- System.Configuration exists, but System.ConfigurationSettings does not.
Despite these oddities, I went ahead and tried to run my app anyway, and got this error:
C:\Documents and Settings\Administrator\My Documents\vp\Inventory\Inventory.cs(39): The type or namespace name 'ConfigurationSettings' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
I got a REALLY weird error the first time I tried to run the app, saying a control I was referencing was in use or something *shrug*
Anyway, so I went to References/Add Reference and scrolled down to find System.ConfigurationSettings.dll. Nothing there, the only thing I found was System.Configuration.Install.dll.
What am I doing wrong?