Add Reference to a WCF Service Executable

Posted by Sphynx on Stack Overflow See other posts from Stack Overflow or by Sphynx
Published on 2010-05-31T13:03:36Z Indexed on 2010/06/07 12:42 UTC
Read the original article Hit count: 328

Filed under:
|
|
|

I have 3 projects in my solution. 1 - client, 2 - server, 3 - WCF service library. Server executable exposes the service provided in the library. I need to add a reference to it, rather than to the library directly. When I open "Add Service Reference" and click "Discover", it only lists the library data, and doesn't list the executable server option.

How do I reference a WCF executable service, so the client code would be generated automatically?

I use VS 2010.

Thanks for your help.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about wcf