Moved project from .NET 4.8 to .net 7.0 using MSMQ.Messaging
And I've got "System.PlatformNotSupportedException: 'Compiling JScript/CSharp scripts is not supported'" exception while accessing to Body:
MSMQ.Messaging used in .net standart 2.0 library project which executes in .net 7.0 service.
I've tried to change Target OS, but it doesn't help.
Used XmlMessageFormatter
Moved project from .NET 4.8 to .net 7.0 using MSMQ.Messaging
And I've got "System.PlatformNotSupportedException: 'Compiling JScript/CSharp scripts is not supported'" exception while accessing to Body:
MSMQ.Messaging used in .net standart 2.0 library project which executes in .net 7.0 service. I've tried to change Target OS, but it doesn't help. Used XmlMessageFormatter