Hi,

I am using msmq to send and receive messages for a certain app. I am putting an object in the message bidy (some type of struct to pass some data along). Sending works fine, but I am having problems when attempting to read the message body. I can't seem to get the TargetTypes/TargetTypeNames properties right. I get the following error:

An unhandled exception of type 'System.TypeLoadException' occurred in system.messaging.dll

Additional information: Could not load type MakeMessage from assembly System.Messaging

Any thoughts/ideas on how this is done?