Hi;
How can I get the full filename of an apps app.exe.config? And in the case
of a web app, that should be path\Web.Config.
I need this for logging so that when one of our customers "has placed a
value in the app.exe.config" file, we can use the log to verify that they put
it in the right file.

Signature
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
Mattias Sjögren - 21 Sep 2006 21:08 GMT
David,
>How can I get the full filename of an apps app.exe.config? And in the case
>of a web app, that should be path\Web.Config.
Try checking
AppDomain.CurrentDomain.SetupInformation.ConfigurationFile
Mattias

Signature
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
David Thielen - 21 Sep 2006 23:06 GMT
perfect - including web.config.

Signature
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
> David,
>
[quoted text clipped - 5 lines]
>
> Mattias