[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Robert Kirkpatrick

11/18/2002 12:47:00 PM

"<class> cannot be serialized because it does not have a
default public constructor"
is the message I get when trying to produce with xsd.exe a
XML schema from a dll written in JScript.net.
I can't find detailed reference info on xsd.exe...

2 Answers

Robert Kirkpatrick

11/18/2002 4:43:00 PM

0

Sorry it's ok with /l:JS
But the schema only shows attributes, no methods

>-----Original Message-----
>"<class> cannot be serialized because it does not have a
>default public constructor"
>is the message I get when trying to produce with xsd.exe
a
>XML schema from a dll written in JScript.net.
>I can't find detailed reference info on xsd.exe...
>
>.
>

Christoph Schittko

11/21/2002 9:20:00 PM

0

XML Schema cannot express methods, only data. -> therefore you will only
find definitions for fields and properties of your classes.

HTH,
--
Christoph Schittko
Software Architect

"Robert Kirkpatrick" <Robert.kirkpatrick@externel.be> wrote in message
news:6a6601c28f19$4fd070d0$8af82ecf@TK2MSFTNGXA03...
> Sorry it's ok with /l:JS
> But the schema only shows attributes, no methods
>
> >-----Original Message-----
> >"<class> cannot be serialized because it does not have a
> >default public constructor"
> >is the message I get when trying to produce with xsd.exe
> a
> >XML schema from a dll written in JScript.net.
> >I can't find detailed reference info on xsd.exe...
> >
> >.
> >