Re: Using windows application project on a mobile device
- From: "Christopher Fairbairn" <christopher@xxxxxxxxxxxxxx>
- Date: Thu, 17 Apr 2008 21:59:15 +1200
Hi Tom,
"Tom Berger" <BergersWorld2344@xxxxxxxxxxx> wrote in message
news:OmNOm3FoIHA.3652@xxxxxxxxxxxxxxxxxxxxxxx
When I try to compile it there are hundreds of errors conserning the
dataset. It mainly complaints about "System.Runtime.Seriazable" and other
things:
Binary Serialization isn't supported out of the box by the .NET Compact
Framework. If your application relies heavily upon this feature you may need
to investigate one of the third party serialization libraries which aim to
re-introduce this feature.
Why seems the dataset to be completely different on both target
plattforms? I would have expected that things like the dataset is
exactly the same with both frameworks...
Most of the dataset functionality is the same between both platforms.
However some features, and in particular some of the method overloads are
not present on the .NET CF implementation as a way to reduce the size of the
runtime
One feature which is quite different between the two platforms is the
handling of design time attributes such as BrowsableAttribute and
DesignerSerializationVisibilityAttribute. The easiest way in your case to
resolve these compiler errors is probably to get Visual Studio to regenerate
the dataset designer code behind file. This will cause it to be regenerated
into a form where the generated code doesn't make use of features not
present on the .NET Compact Framework (but won't affect how the resultant
class can be used).
Hope this helps,
Christopher Fairbairn
.
- Follow-Ups:
- Re: Using windows application project on a mobile device
- From: Tom Berger
- Re: Using windows application project on a mobile device
- References:
- Using windows application project on a mobile device
- From: Tom Berger
- Using windows application project on a mobile device
- Prev by Date: Serving SOAP requests
- Next by Date: Re: Using windows application project on a mobile device
- Previous by thread: Using windows application project on a mobile device
- Next by thread: Re: Using windows application project on a mobile device
- Index(es):
Relevant Pages
|