Information générale
Catégorie:
Installation et Configuration
>The System.Configuration.ConfigurationSettings class is in System.dll whilst the System.Configuration.ConfigurationManager class is in System.Configuration.dll. Make sure you have a reference to the latter DLL in your project.
>
>Thanks a million before taxes! Leave it to do Microsoft to do something like this {g}
You just have to remember that classes with the same namespace are not neccessarily all in one DLL - used to catch me out all the time.
In this case the original System.Configuration namespace was in System.dll in .NET 1.1 with only a few classes. The System.Configuration.dll arrived with .NET 2.0 and added new functionality.
Regards,
Viv
Précédent
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