Menu

Build RabbitMQ .NET Client from Source

Overview

This guides describes the process of building the .Net/C# client libraries from source.

The repository is hosted on GitHub. Clone it with

git clone https://github.com/rabbitmq/rabbitmq-dotnet-client.git

Required Libraries and Tools

To build the .NET/C# client libraries on Windows, you will need

  • Microsoft .NET 4.5.1 or later (including .NET Core)
  • Microsoft Visual Studio Community Edition 2017 or later

Building from Source

On Windows with Visual Studio

To build the client with Visual Studio, first run

build.bat

in repository root. This will perform the required code generation as well as building a release version of the library.

Then

  • Open RabbitMQDotNetClient.sln in Visual Studio.
  • Build the solution.

On Windows without Visual Studio

To build the client without Visual Studio, run

build.bat

in repository root. This will perform the required code generation as well as building a release version of the library.

On Linux and MacOS

The library can be built on Linux and MacOS using .NET Core 2.

Run

build.sh

This will perform the required code generation as well as building a release version of the library.

Getting Help and Providing Feedback

If you have questions about the contents of this guide or any other topic related to RabbitMQ, don't hesitate to ask them on the RabbitMQ mailing list.

Help Us Improve the Docs <3

If you'd like to contribute an improvement to the site, its source is available on GitHub. Simply fork the repository and submit a pull request. Thank you!