Click here to Skip to main content
15,889,403 members
Home / Discussions / C#
   

C#

 
QuestionBinary File Pin
Member 202517629-Sep-05 5:51
Member 202517629-Sep-05 5:51 
AnswerRe: Binary File Pin
leppie29-Sep-05 5:54
leppie29-Sep-05 5:54 
AnswerRe: Binary File Pin
Guffa29-Sep-05 7:01
Guffa29-Sep-05 7:01 
AnswerRe: Binary File Pin
29-Sep-05 11:01
suss29-Sep-05 11:01 
QuestionVector Graphics Pin
pmasknguyen29-Sep-05 5:48
pmasknguyen29-Sep-05 5:48 
AnswerRe: Vector Graphics Pin
leppie29-Sep-05 5:56
leppie29-Sep-05 5:56 
GeneralRe: Vector Graphics Pin
pmasknguyen29-Sep-05 13:48
pmasknguyen29-Sep-05 13:48 
Question(Xml) deserializing objects from dynamic assemblies. Pin
Rein_Petersen29-Sep-05 5:46
Rein_Petersen29-Sep-05 5:46 
Hi All,

I'm totally stymied trying to deserialize an xml document to an object that I created in a dynamic assembly:

exception:
"Unable to generate a serializer for type Person from assembly <unknown> because the assembly may be dynamic. Save the assembly and load it from disk to use it with XmlSerialization."

Before I post a pile of code, I hoped someone might have an insight to this problem. I have tried saving the assembly to disk, then reloading it using System.AppDomain.Load(byte[] rawAssembly,byte[] rawSymbolStore) from reading the dynamic dll and pdb from disk...

Everything works (the assembly is loaded and the types I defined dynamically can be reflected) until I get to the point of declaring the xml serializer for my type...

Arg. Help.

Rein
AnswerRe: (Xml) deserializing objects from dynamic assemblies. Pin
leppie29-Sep-05 5:52
leppie29-Sep-05 5:52 
GeneralRe: (Xml) deserializing objects from dynamic assemblies. Pin
Rein_Petersen29-Sep-05 6:49
Rein_Petersen29-Sep-05 6:49 
GeneralRe: (Xml) deserializing objects from dynamic assemblies. Pin
Rein_Petersen29-Sep-05 7:54
Rein_Petersen29-Sep-05 7:54 
QuestionSecurityException Question Pin
PULLAH29-Sep-05 5:28
PULLAH29-Sep-05 5:28 
AnswerRe: SecurityException Question Pin
leppie29-Sep-05 5:40
leppie29-Sep-05 5:40 
QuestionSecurityException Question Pin
PULLAH29-Sep-05 5:28
PULLAH29-Sep-05 5:28 
Questionis there a reverse of @&quot;abc&quot;? Pin
Ariadne29-Sep-05 5:27
Ariadne29-Sep-05 5:27 
AnswerRe: is there a reverse of @&quot;abc&quot;? Pin
leppie29-Sep-05 5:36
leppie29-Sep-05 5:36 
GeneralRe: is there a reverse of @&quot;abc&quot;? Pin
Ariadne29-Sep-05 5:49
Ariadne29-Sep-05 5:49 
GeneralRe: is there a reverse of @&quot;abc&quot;? Pin
leppie29-Sep-05 6:05
leppie29-Sep-05 6:05 
AnswerRe: is there a reverse of @&quot;abc&quot;? Pin
Luis Alonso Ramos29-Sep-05 17:34
Luis Alonso Ramos29-Sep-05 17:34 
GeneralRe: is there a reverse of @&quot;abc&quot;? Pin
Ariadne29-Sep-05 20:07
Ariadne29-Sep-05 20:07 
GeneralRe: is there a reverse of @&quot;abc&quot;? Pin
Luis Alonso Ramos30-Sep-05 8:33
Luis Alonso Ramos30-Sep-05 8:33 
Question.Net Client app holding socket... Pin
Jason Weibel29-Sep-05 4:40
Jason Weibel29-Sep-05 4:40 
GeneralRe: .Net Client app holding socket... Pin
Stefan Troschuetz29-Sep-05 4:59
Stefan Troschuetz29-Sep-05 4:59 
GeneralRe: .Net Client app holding socket... Pin
Jason Weibel29-Sep-05 5:04
Jason Weibel29-Sep-05 5:04 
AnswerRe: .Net Client app holding socket... Pin
leppie29-Sep-05 5:23
leppie29-Sep-05 5:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.