Hi,
I built an assembly with a class, NodeBuildCommand, in the namespace
"Tendril". I use that assembly on one computer to send a
NodeBuildCommand object in the body of a System.Messaging.Message.
This works without error. On the receiving computer I use the same
assembly and then try to cast the body to that object. When this
happens I get a "Type not found error" from GetType(), which is called
from the get_Body() method on the System.Messaging.Message object.
In the development environment on the remote computer in the Immediate
window of the debugger I can do the following:
(new Tendril.NodeBuildCommand()).GetType().Name = "NodeBuildCommand"
(new Tendril.NodeBuildCommand()).GetType().Namespace = "Tendril"
so why doesn't this work:
System.Type.GetType("Tendril.NodeBuildCommand")
This last line returns null and this is the source of my problem with
the casting. Any ideas on how to proceed?
Thanks,
Bill