locked
WCF class library project reference to universal windows class library RRS feed

  • Question

  • Hello guys!

    Not sure that I ask the question in the right forum, so sorry if is not fitting here.

    I have in my solution 3 projects:

    - an universal windows class library

    - a wcf service library

    - an universal windows app

    I'm trying to add reference from wcf to class library. Each time I get the error: Unable to add reference to project "ClassLibrary".

    I have no idea why... Does anyone know why?

    Tuesday, October 31, 2017 7:04 PM

Answers

  • Hi Stefi Pallo,

    Could you tell me why you need to add the wcf service library to the universal windows class library? You can try to add the wcf service library to a host application service, then add the service reference to the UWP class library. Note that your service and UWP should in the same device.

    Best regards,

    Breeze


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Edited by Breeze Liu Thursday, November 2, 2017 5:51 AM
    • Marked as answer by Stefi Pallo Friday, December 15, 2017 2:11 PM
    Wednesday, November 1, 2017 9:49 AM