Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is app.config only used at compile time or is it required at run time as well?

In WCF services and a variety of other .NET apps, I understand that app.config is used to specify settings. Is this file only used at compile time and settings get stored in the assembly or is it required at run time as well? Does it vary per project type?

like image 568
Matt Avatar asked Aug 21 '09 00:08

Matt


1 Answers

The app.config file is renamed to YourAssemblyName.exe.config during the build process. This is the default behaviour for all non-web projects. A web or web application project uses web.config instead, but it is not renamed.

like image 70
devstuff Avatar answered Oct 29 '22 20:10

devstuff