configuration-files

app.config changes are not recognized unless they are made from the Project Settings window in Visual Studio

I store my application settings in a project settings file. I notice that in addition to the Settings.settings file beneath the Properties folder in the Project, the settings are also stored in an app.config file. My application only recognizes changes to this file if I make changes via the Settings tab of the Project's Properties wind...

Generate .config file automatically using .NET configuration on Windows 7/Mono

This site explains about searching assemblies using .config file that has relative search path. I couldn't find the .NET configuration utility on Windows 7, so I just copied the config file to see it works. But I wonder why I can't find the .NET configuration tool in Windows 7. Where is the .NET configuration utility or equivalent i...

How To Implement a ConfigurationSection With a ConfigurationElementCollection

I am trying to implement a custom configuration section in a project and I keep running up against exceptions that I do not understand. I am hoping someone can fill in the blanks here. I have an XML config that looks like this: <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section name="Service...

What generates the In/Out CellLabels in Mathematica and how do I change it?

When Mathematica evaluates a cell, it gives the Input cell and Output cell the CellLabels In[$Line]:= and Out[$Line]= where $Line is a counter that gets incremented on each evaluated input. If you input something like TraditionalForm[expr] or TeXForm[expr] (or any other *Form from $OutputForms) then the name of the form also gets added ...

What is a good configuration file tool for C#

I'm writing a new C# application which will make heavy use of a configuration file. My requirements are: Human readable Name value pairs Hierarchical [Updatable by application] Um, to translate: I want to define an object and a set of configuration parameters associated with that object. The configuration parameters may be name va...

How to represent lists of blocks in Configgy?

Configgy supports lists of strings as values and blocks of key/value pairs. But it seems it does not support lists of blocks of key/value pairs as values. Am I missing something? ...

what would be a quick way to read a property file in python?

I have a file with the format VarName=Value . . I want to read it into a hash such that H("VarName") will return the value. What would be a quick way? (read a set of strings, split all of them where the equality sign is, and then put it into a hash? I am working with python. ...

Building an MSI/Setup with VS2008 - How to Create Sub-Folders for Logs and Temporary Files

Hello...I have built a C#.NET WinForms App. I now need to build a MSI installer for the same so that I can ship it to my clients. I am stuck at the following place. I use log4net for Logging. How do I write my App.Config in such a way that the LogFile folder is based on where my end user installs the Application. That is, if my end ...

Any tool for easily parse a config file on Linux ?

Hi, I need a tool that allows me to parse a config file and request some data from it. The format of the config file is free (it can be INI, XML, and so on) but the more human-friendly, the better. Here is a sample config file (using XML, but it could be anything: i don't mind the format): <?xml version="1.0" encoding="UTF-8" ?> <con...

Merge a section NameValueSectionHandler of two .config files (C#)

I need merge a section of type NameValueSectionHandler from two .config files (Main.config and Secundary.config in sample). The Main.config has another sections like appsetings and others. Main.config: <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section name="ParserSQL.Reglas" type="System.Configura...

Configuration file protection needed

I have requirement to make sure that the configuration file is not tampered. It is simple key-value pair file. However I also do not want any strong encryption mechanism like AES and so on to ensure that the data in it is encrypted. I just want to ensure that I know that the file was tampered. Some way in which a simple protection is pro...

Impossible to create a configuration file for an python application inside Google App Engine

I try to create a configuration file, where I can store constants. Whenever I try with ConfigParser, I get an error Traceback (most recent call last): File "/home/baun/google_appengine/google/appengine/ext/webapp /__init__.py", line 511, in __call__ handler.get(*groups) File "/home/baun/workspace/octopuscloud/s3/S3.py",...