Top "App-config" questions

.NET application configuration files contain settings specific to an application.

log4net doesn't watch my app.config

I configured my log4net to watch on changes made to the app.config file. [assembly: log4net.Config.XmlConfigurator(…

log4net app-config watch appender
How do I redirect assembly binding to the current version or higher?

Even though my references have Specific Version set to false, I'm getting assembly binding errors because the target machine has …

c# .net app-config assembly-binding-redirect
Is reading app.config expensive?

No question I am yet to be hit by any read speed bottleneck. I am asking to know; if reading …

c# performance coding-style app-config
ConfigurationManager class not available

I am not able to get the connectionString from App.Config file.. Am I missing something? after creating the class, …

c# app-config configurationmanager
Enabling Intellisense for Custom Sections in .config Files

When editing .NET config files (app.config, web.config, etc) in Visual Studio, I get Visual Studio's intellisense to guide …

.net configuration web-config intellisense app-config
Multiple applications with different names for the same code base

Reading this article, thought having the same problem - One code base, two applications on Android I have created an …

android google-play app-config apk application-settings
Sections must only appear once per config file! why?

I'm getting the following exeption: "Sections must only appear once per config file. See the help topic for exceptions. " my …

c# configuration app-config configurationsection
Web.config-style transforms for App.config files for C# Console apps?

My team is in love with publish profiles. We have a number of testing environments that we work in, and …

c# msbuild web-config app-config web-config-transform
The right way to use Globals Constants

In almost every project, I can't decide on how to deal with certain global constant values. In the older days, …

c# .net resources app-config
Exception when specifying defaultProxy in app.config when running NET4.0 application from network share

We're seeing a very strange issue when running the following application from a network share under NET4.0. When specifying a …

exception .net-4.0 app-config network-share defaultproxy