What are the alternatives available for System.Messaging package in .net 8

Aman Agrahari 40 Reputation points
2025-04-09T04:47:54.6066667+00:00

I'm migrating .net 4.7.2 to .net 8.0. The System.Messaging package is not available in .net 8.

How can I resolve the errors below errors -
The type or namespace name 'Messaging' does not exist in the namespace 'System' (are you missing an assembly reference?)
The type or namespace name 'MessageQueue' could not be found (are you missing a using directive or an assembly reference?)

What are the alternatives present in .net 8. Which one I should choose and how can I use that in my application.

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,215 questions
0 comments No comments
{count} votes

Accepted answer
  1. Bruce (SqlWork.com) 74,696 Reputation points
    2025-04-09T15:50:15.91+00:00

    Support for MSMQ has not added to .net core. There is an unsupported port on github

    https://github.com/weloytty/MSMQ.Messaging

    your best option is to pick a replacement technology. RabbitMQ is probably the most popular:

    https://www.rabbitmq.com

    2 people found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.