如何在Consol应用程序中添加应用程序配置
问题描述:
Hello All,
我使用的是Visual Studio 2012 Web Express ..
我创建了一个类库>>>>此类库名称Hello Service>>>
但我已转换为Console Applicatin>>>
但我的问题是我没有添加App.Config文件>>>
当我添加新项目时,我还没有搜索App.Config文件....
请帮助我...尽快...我等你的回答....
预付谢谢非常多
Hello All,
I have using Visual Studio 2012 Web Express..
I have Create One Class Library >>>> This Class Library name Hello Service >>>
but I have convert to Console Applicatin >>>
But my problem is I have not add App.Config file >>>
When I have Add New Item then i have not search App.Config file ....
Please help me... AS soon as Possible ... I waiting for u r answer....
Advance Thank You very Much
答
在解决方案资源管理器中,右键单击项目,然后使用属性并在设置选项卡(当前页面的左侧菜单)中添加至少一个应用程序设置,然后保存您的项目并自动将App.config添加到您的项目。
In Solution Explorer, right click the project, then use "Properties" and in the "Settings" tab (left menu of your current page) add at least one application setting, then Save your project and automatically the App.config will be added to your project.