Friday, 18 November 2011

System.Configuration configurationmanager reference

Note to self. Today I tried to use System.Configuration to access configurationmanager. I had 'using System.Configuration' at the top of my class and Visual Studio seemed happy with this.....until compilation time.

It turned out that I needed to add System.Configuration as a project reference too.

No comments:

Post a Comment

Comments are moderated, so you'll have to wait a little bit before they appear!