VS2008 Service reference.cs not compiling

Topics: General Discussion Forum, Service Factory Modeling Edition Forum
Apr 8, 2008 at 9:01 PM
I have added a service reference which is hosted in console applicationand when i try to compile the client code i am getting reference.cs does not have the definition.

any idea how to fix this

Apr 9, 2008 at 4:12 PM
Are you using for both, client proxy and service host the Host model to generate them?
If that the case, try running your console host before running the Client Application option in the Host model in order to get the WSDL from your console hosted service.