Hi!
I just tried to serialize an Assembly (that was generated by a
scripting language, therefore it is an AssemblyBuilder) to send it via
a TCPClient. I just checked Assembly in the documentation, realized
that it has the SerializableAttribute an was happy. Then I had to find
out that a normal Assembly is serializable, but an Assembly builder
isn't.
My questions:
a) Out of curiosity: Why isn't it serializable? Is there any reason
for that? Is it maybe already JIT-compiled or something?
b) Any suggestions for a workaround? Sure, I can just send the script
via the network, but then I need the scripting engine at the server
etc. I'd just prefer to send the compiled assembly only...
Thanks in advance,
Henrik Heimbuerger