I\'m using Castle DictionaryAdapter in order to get the application settings from the app.config as an interface ( based on Getting rid of strings (3): take your app settings to the next level ):
I\'m getting the following exeption: \"Sections must only appear once per config file.See the help topicfor exceptions. \"
I can’t made my .NET 2.0 applicati开发者_StackOverflow中文版ons (and services) to load their appname.exe.config files on Windows Server 2003 Standard Edition SP2,
I\'m trying to replace the default machine.config settings for the \"client\" handler with my own handler, however, when i run it, i\'m getting this error:
I want my app.config (or my web.config for th开发者_如何学Goat matter) to read from an SQL database instead of an XML file. How can I do that?You can\'t. The .NET configuration system is only file bas
My VB.NET 2008, .NET 3.5 application is using an app.config with settings defined as User. As expected, it created the folder:
I would like to retrieve the AppSetting key from the assembly config file called: MyAssembly.dll.config.Here\'s a sample of the config file:
I have a .NET assembly (.dll) that gets loaded as a COM server into an existing process.How can I get a .config file applied to it such that ConfigurationManager.GetSection will returnthe section out开
I\'m wo开发者_运维百科rking on this ComVisible class library that uses a third party component.This component needs some settings to be added to the config file.Since the application that uses my dll
Let\'s say I have a class called AppConfig: public static class AppConfig { private static XDocument config =