Monthly Archives: July 2010

C# Configuration Custom Section – Configuration Element

Recently I needed a custom section in my app.config. Everything went fine until I got this exception: “The string must be at least 1 characters long.” (System.Configuration.ConfigurationErrorsException type) while reading the custom section….. My code in app.config look like this: <projectSection> <projects> <project ProjectID=”1″ ExternalProjectID=”W30091″ /> </projects> </projectSection> and everything… Read more »