Is System.Messaging.dll not available in .Net Core?

11k views Asked by At

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.?

2

There are 2 answers

1
Hyarus On

MSMQ is not platform independent and therfore not supported by .Net Core.

1
Ramon Smits On

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: