where does a .net Winform's application's app.config file reside..?

心不动则不痛 提交于 2019-12-02 15:34:18

问题


As per this link we can add node in app.confi file.

http://msdn.microsoft.com/en-us/library/ff602939.aspx

so, where does that file exist? If i have given some exe to some one , can I later give him a app.config and ask them to place in the right location - so, that application functions accordingly..?

My app is C# .net 2.0.


回答1:


In the same folder as the exe. Note the app.config file should be the same name as the exe with a .config stuck at the end. That is, if you had a program fooBar.exe, the config file should be named fooBar.exe.config.



来源:https://stackoverflow.com/questions/11456784/where-does-a-net-winforms-applications-app-config-file-reside

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