G
Guest
Hi
I'm trying to create a series of config files for my Windows app (some of
which may reside in arbitary locations unrelated to the exe file) and have
been reading various examples using the System.Configuration namespace.
However, I just can't get anything to work using these examples e.g.
http://msdn2.microsoft.com/en-us/library/2tw134k3.aspx - have adapted that
one to work with a win app but get the error :
An error occurred creating the configuration section handler for
myCustomGroup/myCustomSection: Could not load type
'MyConfigSectionHandler.MyHandler' from assembly
'MyCustomConfigurationHandler, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=null'.
All I want to do is to be able to read configuration info from an xml config
file such as
<myAppSettings>
<SectionA
Setting1="12"
Setting2="25"
Setting3="another value"
/>
</myAppSettings>
Can somebody point me in the right direction please?
many thanks
Richard Bysouth
I'm trying to create a series of config files for my Windows app (some of
which may reside in arbitary locations unrelated to the exe file) and have
been reading various examples using the System.Configuration namespace.
However, I just can't get anything to work using these examples e.g.
http://msdn2.microsoft.com/en-us/library/2tw134k3.aspx - have adapted that
one to work with a win app but get the error :
An error occurred creating the configuration section handler for
myCustomGroup/myCustomSection: Could not load type
'MyConfigSectionHandler.MyHandler' from assembly
'MyCustomConfigurationHandler, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=null'.
All I want to do is to be able to read configuration info from an xml config
file such as
<myAppSettings>
<SectionA
Setting1="12"
Setting2="25"
Setting3="another value"
/>
</myAppSettings>
Can somebody point me in the right direction please?
many thanks
Richard Bysouth