How to reference IBM.XMS.dll in my .NET project

I am creating a program that will start listening to an IBM queue. And for that I am using IBM.XMS.dll that comes with the installation of the WebSphere MQ client for Windows. I am asking myself, when I deploy this for adoption or production, then probably I need to install Websphere MQ Client on this machine?

And also my question: I need to reference the IBM.XMS.dll file like this C:\Program Files\IBM\WebSphere MQ\bin\IBM.XMS.dll

:? I tried to just put the IBM.XMS.dll file in my build folder of my .NET solution, but that doesn't work because the dll has dependencies on other dlls.

EDIT

After looking at the samples, I saw that the samples written by IBM reference a DLL in the GAC. So I did the same.

  • click Ctrl

    +R

  • A type C:\WINDOWS\assembly\GAC_MSIL\IBM.XMS

  • Click on Enter

  • Find and refer to the IBM.XMS.dll file in your solution
+3


source to share





All Articles