weloytty / MSMQ.Messaging

A drop in replacement for System.Messaging for use with .NET Core (on Windows only)
MIT License
39 stars 14 forks source link

System.PlatformNotSupportedException: 'Compiling JScript/CSharp scripts is not supported' #10

Closed insanity13 closed 1 year ago

insanity13 commented 1 year ago

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: image

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

insanity13 commented 1 year ago

Found the Issue, it is because custom Type used image