Downloading IBM MQ classes for XMS .NET Standard from the NuGet repository

The IBM MQ classes for XMS .NET Standard are available for downloading from the NuGet repository, so that they can be easily consumed by .NET Developers.


About this task

NuGet is the package manager for Microsoft development platforms including .NET. The NuGet client tools provide the ability to produce and consume packages. A NuGet package is a single compressed file with the .nupkg extension that contains compiled code (DLLs), other files related to that code, and a descriptive manifest that includes information like the package's version number.

We can download the IBMXMSDotnetClient NuGet package, which contains the both the amqmdnetstd.dll library and the amqmxmsstd.dll library, from the NuGet Gallery, which is is the central package repository used by all package authors and consumers.

There are three ways of downloading the IBMXMSDotnetClient package:

  • By using Microsoft Visual Studio. NuGet is distributed as a Microsoft Visual Studio extension. From Microsoft Visual Studio 2012, NuGet is pre-installed by default.
  • From the command line using either the NuGet Package Manager or the .NET CLI.
  • By using a web browser.

As for the redistributable package, you enable trace by using the environment variable XMS_TRACE_ON.


Procedure

  • To download the IBMXMSDotnetClient package by using the Package Manager UI in Microsoft Visual Studio, complete the following steps:
    1. Right-click the .NET project and then click Manage Nuget Packages.
    2. Click the Browse tab and search for “IBMXMSDotnetClient”.
    3. Select the package and click Install.

    During installation, the Package Manager provides progress information in the form of console statements.

  • To download the IBMXMSDotnetClient package from the command line, choose one of the following options:

    • Use the NuGet Package Manager, enter the following command:
       Install-Package IBMXMSDotnetClient -Version 9.1.4.0

      During installation, the Package Manager provides progress information in the form of console statements. We can redirect the output to a log file.

    • Use the .NET CLI, enter the following command:
      dotnet add package IBMXMSDotnetClient --version 9.1.4

  • Using a web browser, download the IBMXMSDotnetClient package from https://www.nuget.org/packages/IBMXMSDotnetClient.

Parent topic: Use IBM MQ classes for XMS .NET Standard


Related concepts


Related tasks


Related information