Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot find namespace ConfigurationManager in System.dll
Message
De
11/01/2009 11:47:10
 
 
À
11/01/2009 06:21:15
Information générale
Forum:
ASP.NET
Catégorie:
Installation et Configuration
Divers
Thread ID:
01372557
Message ID:
01372644
Vues:
18
>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
Fil
Voir

Click here to load this message in the networking platform