VS2017 System.Messaging Does Not Exist in Namespace 'System'

Asked 2 years ago, Updated 2 years ago, 52 views

In VS2017 C#, I declared using System.Messaging; because I wanted to use the message queue.
Namespace name 'Messaging' does not exist in namespace 'System'.
I've looked into various things, but I don't know.Also, the development is .NET Core, but it is also a console app
I get the same error.If you know how to solve this problem, please let me know.

c#

2022-09-30 21:33

1 Answers

System.Messaging (MSMQ) is not platform independent and is not supported by .NET Core.
Is System.Messaging.dll not available in.Net Core?

However, it seems that someone is experimenting with the transplant.
Experimental.System.Messaging
It may work under Windows.


2022-09-30 21:33

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.