La clase ConfigurationManager

2509 vistas

Con la llegada del Framework 2.0, la clase ConfigurationSettings se ha vuelto obsoleta. El Framework 2.0 tiene un nuevo fichero System.Configuration.dll que no está incluido por defecto en las referencias. Por tanto, no tenemos que olvidarnos de añadir esta librería en la lista de referencias de nuestro proyecto.

Cito: The Original System.Configuration.ConfigurationSettings class is found in the System.dll assembly. There is a new assembly with all the new ConfigurationManager classes as System.Configuration.dll. Before using the ConfigurationManager class, you must first set a reference to the new System.Configuration.dll.