Why are .NET app.config load rules different for win2k3?

Posted by Dan on Stack Overflow See other posts from Stack Overflow or by Dan
Published on 2009-02-19T19:14:58Z Indexed on 2010/03/25 0:53 UTC
Read the original article Hit count: 408

Filed under:
|

...and are there any other caveat for other platforms?

I create an app.config for a win forms project, for example Application.exe.

By default I expect that at runtime my application is going to look for a file called Application.exe.config.

But there seem to be exceptions to this, for example in a Windows Server 2003 environment an app will look for Application.config.

The full path of the config file being searched for is different in Windows Server 2003, why is this?

Where is the definition for these cosmic app.config loading rules?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about app-config