Find the name of the current config file
Posted
by Martin
on Stack Overflow
See other posts from Stack Overflow
or by Martin
Published on 2010-04-11T14:22:24Z
Indexed on
2010/04/11
14:23 UTC
Read the original article
Hit count: 510
Is there a way to find the name (and path) of the current application's config file from inside a class library?
E.g. in a web app this would be web.config
, in a windows app or service this would be myapp.exe.config
.
© Stack Overflow or respective owner