Search code examples
.netxml-configuration

What's .NET XML configuration file for?


I find some of the .NET execution files have accompanying .config file. For example, I have LINQPad.exe and LINQPad.exe.config.

What's this LINQPad.exe.config for?

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0"/>
  </startup>
  <runtime>
    <legacyUnhandledExceptionPolicy enabled="1" />
  </runtime>
</configuration>

Solution

  • It's used for storing the application settings.

    See: http://msdn.microsoft.com/en-us/library/8eyb2ct1.aspx