I have a C# Publisher-Subscriber project intended to make use of the MSMQ service
in Windows. The code was developed in .Net Framework 4
. I want to run it in .Net Core
. But I am getting the error
"The type or namespace name "Messaging" donot exist in the namespace System".
Does .Net Core support MSMQ?
Does .Net Core has a corresponding System.Messaging.dll
which appears to be missing.?
Microsoft Message Queuing (MSMQ) is currently not available for . NET Core. While other message queuing systems are generally preferred, many enterprise applications were based on MSMQ and this creates a problem for teams looking to migrate from .
What is a dll file ? A . dll file contains compiled code you can use in your application to perform specific program functions and may be required by another application or module (such as .exe or . dll) to load it through an entry point.
MSMQ is not platform independent and therfore not supported by .Net Core.
Even though MSMQ is Windows only, the future even on Windows is .NET Core and .NET Framework basically is end-of-life.
Currently the only way to use MSMQ on .NET Core is via the following package:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With