Information générale
Catégorie:
The Mere Mortals .NET Framework
I have used the WriteKeysToConfig method of the mmAppConfiguration class to write out a settings.xml file using strongly typed properties. When I use the ReadKeysFromConfig method to read that same file, it always uses the default values as if it does not find the proper key values in the file. I have tried renaming the file to settings.config, but it still doesn't find the values in the file. When I walk through the code, the InnerXML property of the DOM contains the proper xml. So I assume that it is seeing it as XML okay. I have even tried using the GetKeyFromConfigSection, but that was returning the defaults also.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement