PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework [Serializable] tag in CF 2.0?

Reply

[Serializable] tag in CF 2.0?

 
Thread Tools Rate Thread
Old 06-03-2006, 04:46 PM   #1
Chris DiPierro
Guest
 
Posts: n/a
Default [Serializable] tag in CF 2.0?


I was under the impression that CF 2.0 supported serialization. However,
when I try to create a class that has the [Serializable] tag, VS 2k5 is
telling me there's no reference to it.

Was I mistaken in my impression about CF 2.0?
  Reply With Quote
Old 06-03-2006, 04:59 PM   #2
Daniel Moth
Guest
 
Posts: n/a
Default Re: [Serializable] tag in CF 2.0?

Xml serialization, yes.
Binary serialization, no.

Cheers
Daniel
--
http://www.danielmoth.com/Blog/

"Chris DiPierro" <cdipierr@mi-corporation.com> wrote in message
news:e4vgH2TQGHA.1676@TK2MSFTNGP14.phx.gbl...
>I was under the impression that CF 2.0 supported serialization. However,
>when I try to create a class that has the [Serializable] tag, VS 2k5 is
>telling me there's no reference to it.
>
> Was I mistaken in my impression about CF 2.0?



  Reply With Quote
Old 06-03-2006, 05:23 PM   #3
Sergey Bogdanov
Guest
 
Posts: n/a
Default Re: [Serializable] tag in CF 2.0?

The binary serialization is not available in CF (and I don't think that
it will). As a replacement for it you may consider CompactFormatter:
http://www.freewebs.com/compactFormatter/downloads.html


--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com


Chris DiPierro wrote:
> I was under the impression that CF 2.0 supported serialization. However,
> when I try to create a class that has the [Serializable] tag, VS 2k5 is
> telling me there's no reference to it.
>
> Was I mistaken in my impression about CF 2.0?

  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off