Web Reference calls Serializable which won't compile

Discussion in 'ASP .Net Web Services' started by Stefan Barlow, Aug 16, 2003.

  1. 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?)
     
    Stefan Barlow, Aug 16, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page