cygport/cygclass/mono.cygclass

Cygport Reference Manual

### TABLE OF CONTENTS

- mono.cygclass

- MONO
- MCS
- GMCS
- DMCS
- GACUTIL
- MONO_SNK
- HOMEPAGE (mono)
- SRC_URI (mono)
- GIT_URI (mono)
- gacinto
- dogac
- mono_create_policy
- mono_wrapper

## mono.cygclass

[ Top ] [ Cygclasses ] [ Cygclasses ]

SYNOPSIS

      inherit mono

DESCRIPTION

Mono is an open-source implementation of the C# compiler, Common Language Runtime (the Windows version of which is known as the .NET Framework), and related tools. The most common FOSS usage of Mono is Gtk#, a group of bindings for the GTK+ and GNOME libraries which is used by several GNOME applications written in C#. There are also a number of other programming languages implemented on the CLR, some unique (such as Boo, Cobra, Nemerle, and VB.NET) and some previously existing (such as Java/IKVM, Lua2IL, and mPHP).

This cygclass sets definitions for downloading and building Mono components, and provides functions for installing CLR assemblies and programs.

INHERITED BY

nant.cygclass

REQUIRES

mono

## MONO

[ Top ] [ mono.cygclass ] [ Definitions ]

DESCRIPTION

Absolute path to the Mono JIT interpreter.

## MCS

[ Top ] [ mono.cygclass ] [ Definitions ]

DESCRIPTION

Absolute path to the default Mono C# compiler.

## GMCS

[ Top ] [ mono.cygclass ] [ Definitions ]

DESCRIPTION

Absolute path to the Mono C# 2.0/3.0 compiler.

## DMCS

[ Top ] [ mono.cygclass ] [ Definitions ]

DESCRIPTION

Absolute path to the Mono C# 4.0 compiler.

## GACUTIL

[ Top ] [ mono.cygclass ] [ Definitions ]

DESCRIPTION

Absolute path to the Mono Global Assembly Cache tool.

## MONO_SNK

[ Top ] [ mono.cygclass ] [ Definitions ]

DESCRIPTION

Path to a strongname key that can be used to sign assemblies for installation into the GAC which do not ship with their own key. This key should only be used if an upstream key is not available.

## HOMEPAGE (mono)

[ Top ] [ mono.cygclass ] [ Overloads ]

DEFINITION

    HOMEPAGE="http://www.mono-project.com/"

## SRC_URI (mono)

[ Top ] [ mono.cygclass ] [ Overloads ]

DESCRIPTION

Download location for sources from the Mono project.

## GIT_URI (mono)

[ Top ] [ mono.cygclass ] [ Overloads ]

DESCRIPTION

Location of Git repository for Mono projects.

## gacinto

[ Top ] [ mono.cygclass ] [ Install Functions ]

SYNOPSIS

      gacinto SUBDIRECTORY

DESCRIPTION

Package name to use when installing assemblies into the GAC with dogac. Symlinks to the assemblies installed with dogac will be created in /usr/lib/mono/SUBDIRECTORY.

## dogac

[ Top ] [ mono.cygclass ] [ Install Functions ]

SYNOPSIS

      [gacinto SUBDIRECTORY]
      dogac ASSEMBLY [ASSEMBLY2] ...

DESCRIPTION

Installs the given assembly libraries into the GAC under $D, using the package name from the previous call to gacinto.

NOTE

Assemblies must be strongname signed in order to be installed into the GAC. If an assembly is meant for general consumption but a strongname key is not available from upstream, MONO_SNK can be used to sign the assembly.

## mono_create_policy

[ Top ] [ mono.cygclass ] [ Install Functions ]

SYNOPSIS

      mono_create_policy ASSEMBLY_NAME "OLD_VERSIONS" NEW_VERSION STRONGNAME_KEY

DESCRIPTION

Creates a policy file within the GAC. Policy files are used to redirect assembly dependencies on (usually) older versions to a new version which is still API-compatible. Versions are in the form of major.minor.micro.patch; the old versions argument can be a range (x.y.z.a-x.y.z.a) or use wildcards (x.y.*).

## mono_wrapper

[ Top ] [ mono.cygclass ] [ Install Functions ]

SYNOPSIS

      mono_wrapper SCRIPT_NAME PATH_TO_ASSEMBLY

DESCRIPTION

Creates a wrapper script to launch the given assembly path (as it will be installed on the system) with Mono.