
This section describes the process for obtaining a copy of the RabbitMQ .Net/C# AMQP client library source code, as well as instructions for building the .Net/C# client libraries from source.
$ hg clone http://hg.rabbitmq.com/rabbitmq-dotnet-client $ cd rabbitmq-dotnet-client $ cp local.build.example local.build $ nant dist
To build the .NET/C# client libraries, you will need
Ensure that PATH variable contains path to NAnt.
Change to the rabbitmq-dotnet-client directory,
copy local.build.example to local.build
and change config.name property to one of the build
configuration files in the configs directory.
Type NAnt.exe in Windows environment, or
nant in Linux/UNIX/Cygwin one.
Other interesting default.build targets include:
build/bin and generates API (if necessary)
into build/gensrc.
build directory,
including compiled DLL, generated API, and any
files placed under build.
NDocProc.
The included binary version of NDocProc is
compiled for .Net 1.1.
src/examples
directory.
AssemblyInfo.cs,
so that on a subsequent build, a fresh one will be generated from
AssemblyInfo.cs.in with a fresh build identifier.
Ensure that PATH variable contains path to
NAnt and to msbuild.exe, or
use Visual Studio directly.
Targets in default.build for building WCF bindings:
msbuild.
For further information, please see the "Building the Client" section of the RabbitMQ .NET Client Library User Guide, available from the .NET client download page.