PC Review


Reply
Thread Tools Rate Thread

AssemblyBuilder is not Serializable?

 
 
Henrik Heimbuerger
Guest
Posts: n/a
 
      18th May 2005
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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
AssemblyBuilder Peter Morris Microsoft C# .NET 0 21st Jun 2008 02:08 PM
problems with AssemblyBuilder ginnone@gmail.com Microsoft C# .NET 0 18th Oct 2006 05:05 PM
How to get the same assembly using ICodeCompiler or AssemblyBuilder ginnone@gmail.com Microsoft Dot NET Framework 0 28th Sep 2006 09:08 AM
AssemblyBuilder.DefineUnmanagedResource =?Utf-8?B?TGFkaXNsYXYgUHJvc2Vr?= Microsoft Dot NET Framework 0 14th Oct 2005 03:23 PM
Serializable Object Becomes Non-Serializable when databound Codemonkey Microsoft Dot NET Framework Forms 16 7th Oct 2003 07:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:15 PM.