【发布时间】:2013-06-16 00:05:34
【问题描述】:
在 Windows 窗体应用程序中,我使用 Application.Executable 路径来获取 App.config。,
我需要访问 Windows 服务中的 app.config。那会是什么?
【问题讨论】:
-
System.Reflection.Assembly.GetExecutingAssembly().Location?
标签: c# windows winforms c#-4.0