Search code examples
asp.netmessage-queuemsmqusing

How to add and use MessageQueues to ASP.NET MVC project?


I have a ASP.NET MVC project and I need to use Message Queues (MSMQ as I understand it) to send messages from the client to my server, but I can't seem to add System.Messages to a c# class. I get an error when trying to add the namespace:

enter image description here

I searched around and found that I don't have the system.messaging.dll (or system.messages.dll) in my project. This has to be possible, as its even in the documentation.

EDIT: I found another guy online who is having the exact same problem. I followed the answer in that link, but the Refrence Manager dosen't seem to have a system.messaging or messages dll.

not found

How do I download the necessary dlls?


Solution

  • So @mason regrettably, I was trying to do something that isn't really done anymore. This question was outdated before I even asked it.