Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How can I change the app.config filename?

2 views
Skip to first unread message

Chris-

unread,
Feb 19, 2008, 12:27:35 PM2/19/08
to
Hi all - I've created my own SectionHandler, but want to use it with
filename different from the default MyExe.exe.config that it uses by
default. So I have

MySettings settings = (MySettings)
ConfigurationManager.GetSection("mysection");

which uses the .config file in the bin directory. Can I point this to
another .config file altogether?

Thanks

0 new messages