Installing IBM MQ classes for .NET

IBM® MQ classes for .NET, including samples, is installed with IBM MQ. There is a prerequisite of Microsoft.NET Framework.

The latest version of IBM MQ classes for .NET is installed by default as part of the standard IBM MQ installation in the Java and .NET Messaging and Web Services feature. For installation instructions, see Installing IBM MQ server on Windows or Installing an IBM MQ client on Windows systems.

In a multiple installation environment, if you have previously installed the IBM MQ classes for .NET as a support pack, you cannot install IBM MQ unless you first uninstall the support pack. The IBM MQ classes for .NET feature that is installed with IBM MQ contains the same functionality as the support pack.

Sample applications, including source files, are also supplied; see Sample applications.

To run IBM MQ classes for .NET on 32-bit or 64-bit platforms you must have installed Microsoft.NET Framework V3.5 or later.

Note: If the Microsoft.NET Framework v3.5 or higher is not installed before installing IBM MQ 8.0, then the IBM MQ product installation will continue without error, but the IBM MQ classes for .NET will not be available. If the .NET Framework is installed after installing IBM MQ Version 8.0, then the IBM MQ.NET assemblies must be registered by running the WMQInstallDir\bin\amqiRegisterdotNet.cmd script, where WMQInstallDir is the directory where IBM MQ Version 8.0 is installed. This script installs the required assemblies in the Global Assembly Cache (GAC). A set of amqi*.log files recording the actions taken are created in the %TEMP% directory.

For information about using the IBM MQ custom channel for the Microsoft WCF with .NET 3, see Developing Microsoft Windows Communication Foundation (WCF) applications with IBM MQ