Web Reference calls Serializable which won't compile

S

Stefan Barlow

After I assign a web reference to my C#.net web service within my Pocket PC
project, when I compile I get the following errors. The problem is when I
generate the web reference, it uses these classes which apparently are not
available for the CF? Why would it generate code referencing unavailable
clases that won't compile for my web service, but not for other services I
tried?

The type or namespace name 'Serializable' could not be found (are you
missing a using directive or an assembly reference?)
The type or namespace name 'ToolboxItem' does not exist in the class or
namespace 'System.ComponentModel' (are you missing an assembly reference?)
The type or namespace name 'SerializationInfo' could not be found (are you
missing a using directive or an assembly reference?)
The type or namespace name 'Browsable' does not exist in the class or
namespace 'System.ComponentModel' (are you missing an assembly reference?)
The type or namespace name 'DesignerSerializationVisibilityAttribute' does
not exist in the class or namespace 'System.ComponentModel' (are you missing
an assembly reference?)
The type or namespace name 'Browsable' does not exist in the class or
namespace 'System.ComponentModel' (are you missing an assembly reference?)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top