Installing WebSphere MQ classes for .NET

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

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

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

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

To run WebSphere MQ classes for .NET on 32-bit or 64-bit platforms you must have installed Microsoft .NET Framework V2.0 or later.

Note: If the Microsoft .NET Framework v2.0 or higher is not installed before installing WebSphere MQ V7.0.1, then the WebSphere MQ product installation will continue without error, but the WebSphere MQ classes for .NET will not be available. If the .NET Framework is installed after installing WebSphere MQ 7.0.1, then the WebSphere .NET assemblies must be registered by running the WMQInstallDir\bin\amqiRegisterdotNet.cmd script, where WMQInstallDir is the directory where WebSphere MQ 7.0.1 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 WebSphere MQ custom channel for the Microsoft WCF with .NET 3, see: IBM WebSphere MQ custom channel for Microsoft Windows Communication Foundation (WCF)