Unable to access ConfigurationManager.AppSettings in a Windows Forms Application

試著忘記壹切 提交于 2019-11-30 11:36:30

Add a reference to System.Configuration.dll.

I've had this experience before where I had to go and add a reference to System.Configuration to be able to use this funcitonality.

Right click on your project in the solution explorer, select Add Reference then select the .Net tab (it should be selected by default), and select System.Configuration

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!