如何在控制台应用程序添加App.config文件 [英] How to add App.Config file in Console Application
本文介绍了如何在控制台应用程序添加App.config文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我要存储的连接字符串,并在app.config文件中的一些参数,我们为Windows aplication generaly做,但我找不到app.config文件的控制台应用程序。所以,我应该如何使用这个文件,如何添加这个文件或者有一些其他的工作arroud为相同的功能。我在控制台应用程序中工作
I want to store the connection string and some parameters in app.config file which we generaly do for windows aplication but I can't find app.config file for console application. So how should I use this file, how to add this file or there is some other work arroud for the same functionality. I am working in console application
推荐答案
右键单击应用程序 - >转到添加 - >您将看到确切的画面我都十分这里 - >选择的应用程序配置文件。
Right click on application->Go to Add->you will see the exact picture What i have attached here->Pick the Application Config File.
这篇关于如何在控制台应用程序添加App.config文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文