C
C Newby
I'm building an assembly in which it would be helpful to store some settings
in an easy to edit text file. As of now, i added an application
configuration file in VS.NET, but the ConfigurationSettings.AppSettings
never has my settings in it. My config file basically looks like :
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="setting1" value="setting1Value" />
</appSettings>
</configuration>
I tried copying the app.config file to the same directory as the compiled
assembly, and i also tried renameing it to MyApp.dll.config. None of these
worked though.
So...perhaps there is some other way i should be doing this?
Any advice is apreciated. TIA//
in an easy to edit text file. As of now, i added an application
configuration file in VS.NET, but the ConfigurationSettings.AppSettings
never has my settings in it. My config file basically looks like :
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="setting1" value="setting1Value" />
</appSettings>
</configuration>
I tried copying the app.config file to the same directory as the compiled
assembly, and i also tried renameing it to MyApp.dll.config. None of these
worked though.
So...perhaps there is some other way i should be doing this?
Any advice is apreciated. TIA//