[Mono-list] About configuration file

Jonathan Pryor jonpryor@vt.edu
06 Apr 2003 12:44:15 -0400


--=-l1pUiwIEbeAjpYfZAAs+
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

There is no way to automatically generate an application configuration
file that I am aware of.

The easiest way to get one is to just copy the example file contents out
of MSDN or an existing application.  Or, use the attached .config file
as a template.  Please note that the attached .config file is highly
application specific, but it is demonstrative of the sorts of things a
.config file can contain.

 - Jon

On Sun, 2003-04-06 at 12:33, yoros@wanadoo.es wrote:
> Hello,
> 
> I'm making an assebly that needs a config file. Is there any way to get
> that file automatically? If not, what can I do?
> 
> Thank you,
> 
>     Pedro

--=-l1pUiwIEbeAjpYfZAAs+
Content-Disposition: attachment; filename=type-reflector.exe.config
Content-Type: text/plain; name=type-reflector.exe.config; charset=UTF-8
Content-Transfer-Encoding: 7bit

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <configSections>
    <section
      name="displayers"
      type="System.Configuration.DictionarySectionHandler, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
    <section
      name="finders"
      type="System.Configuration.DictionarySectionHandler, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
    <section
      name="formatters"
      type="System.Configuration.DictionarySectionHandler, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
  </configSections>
  <system.diagnostics>
    <switches>
      <add name="console" value="1"/>
      <add name="explicit-node-finder" value="0"/>
      <add name="grouping-node-finder" value="0"/>
      <add name="indenting-text-writer" value="0"/>
      <add name="indenter" value="0"/>
      <add name="node-finder" value="0"/>
      <add name="type-loader" value="0"/>
      <add name="type-factory" value="1"/>
    </switches>
    <!--
    <trace>
      <listeners>
        <add
          name="foo"
          type="System.Diagnostics.TextWriterTraceListener, System"
          initializeData="debug.txt"/>
      </listeners>
    </trace>
    -->
  </system.diagnostics>
  <displayers>
    <add key="console" value="Mono.TypeReflector.Displayers.ConsoleTypeDisplayer" />
    <add key="gtk"     value="Mono.TypeReflector.Displayers.Gtk.GtkTypeDisplayer" />
    <add key="swf"     value="Mono.TypeReflector.Displayers.Swf.SwfTypeDisplayer" />
  </displayers>
  <finders>
    <add key="explicit"    value="Mono.TypeReflector.Finders.ExplicitNodeFinder" />
    <add key="reflection"  value="Mono.TypeReflector.Finders.ReflectionNodeFinder" />
  </finders>
  <formatters>
    <add key="default" value="Mono.TypeReflector.Formatters.DefaultNodeFormatter" />
    <add key="csharp"  value="Mono.TypeReflector.Formatters.CSharpNodeFormatter" />
    <add key="vb"      value="Mono.TypeReflector.Formatters.VBNodeFormatter" />
  </formatters>
  <appSettings>
    <!-- 
      Sort of hackish...
      Specify the order that displayers should be loaded.  This would
      permit a default displayer other than the console.
      -->
    <add key="displayer-order" value="gtk swf console" />
  </appSettings>
</configuration>


--=-l1pUiwIEbeAjpYfZAAs+--