CompilerPlugin

A configuration file for compilers.

<compilerPluginsModel>
  <compilerPlugins>
    <compilerPlugin>
      <identifier/>
      <pluginClass/>
      <vendor/>
      <language/>
      <profile/>
      <executable/>
      <frameworkVersions/>
      <defaultAssemblyPath/>
      <assemblies/>
      <platforms>
        <platform>
          <operatingSystem/>
          <architecture/>
        </platform>
      </platforms>
      <commandFilter>
        <excludes/>
        <includes/>
      </commandFilter>
    </compilerPlugin>
  </compilerPlugins>
</compilerPluginsModel>

compilerPluginsModel

Element Description
compilerPlugins Plugin configurations.

compilerPlugin

Element Description
identifier An id for the compiler. It should be (but is not required to be) unique.
pluginClass Class name of the compiler. NMaven will pass an instance of this class to the requesting plugin.
vendor Vendor of the compiler: MICROSOFT, MONO, DotGNU
language The .NET language to use for compilation.
profile Profile for the plugin.
executable Executable, as run from the command line.
frameworkVersions Supported framework version(s) of the compiler: 1.1.4322, 2.0.50727, 3.0
defaultAssemblyPath Path (absolute or relative) of the assemblies given in the assembly fields. This field is used in conjunction with the profile and the assemblies fields.
assemblies Assemblies to reference from the command line. This is used to create custom profiles (such as .NET Compact) that use a different set of system assemblies. Only include the name of the assembly, not the .dll extension.
platforms Platform configuration capabilities.
commandFilter A filter for including/excluding user-passed commands options.

platform

Element Description
operatingSystem The operating system that the compiler is capable of running on.
architecture The architecture that the compiler is capable of running on (Currently unused).

commandFilter

Element Description
excludes The command options to exclude from the user specified pass-through parameters (Currently unused)
includes The command options to allow from the user specified pass-through parameters.