locked
WebServiceClient issue RRS feed

  • Question

  • User364663285 posted

    Hi,

    How to resolve this issue?

    The type or namespace name 'WebServiceClient' could not be found (are you missing a using directive or an assembly reference?)

    Sunday, July 5, 2020 10:09 AM

Answers

  • User1535942433 posted

    Hi wmec,

    As far as I think, there is no such library(WebServiceClient) in net framwork.Where does your project encapsulate the WebServiceClient class? You can get in touch with your project developer and get the details of the project.

    Besides,you have posted the same questions:

    https://forums.asp.net/t/2140103.aspx?Problem+with+WebServiceClient

    If you have other questions,you could tell us more details of your current question.

    Best regards,

    Yijing Sun

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, July 6, 2020 3:06 AM

All replies

  • User475983607 posted

    Hi,

    How to resolve this issue?

    The type or namespace name 'WebServiceClient' could not be found (are you missing a using directive or an assembly reference?)

    The error is very clear.  Unfortunately,  you did not explain what you are trying to do which IMHO is poor considering your experience on these forums.  do your best to help the community help you.

    The solution is reading the error message.  Try adding a reference to WebServiceClient or add a using statement that points to the WebServiceClient namespace.  I assume WebServiceClient is the result of creating a service reference in Visual Studio.   It's not clear if WebSerivceClient is in a library, in the main project, or even exist at all.  Please take a few moments out of your day to do a search for WebServiceClient.  Often simply hovering the mouse over the error will popup a Visual Studio helper that shows possible solutions. 

    Sunday, July 5, 2020 12:24 PM
  • User1535942433 posted

    Hi wmec,

    As far as I think, there is no such library(WebServiceClient) in net framwork.Where does your project encapsulate the WebServiceClient class? You can get in touch with your project developer and get the details of the project.

    Besides,you have posted the same questions:

    https://forums.asp.net/t/2140103.aspx?Problem+with+WebServiceClient

    If you have other questions,you could tell us more details of your current question.

    Best regards,

    Yijing Sun

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, July 6, 2020 3:06 AM