Akash Agarwal

Akash Agarwal

  • NA
  • 13
  • 28.1k

problem in adding WCF reference in .NETwindow application

Jul 12 2011 7:49 PM

Hi All,
I have an .Net windows application. I have added an Wcf reference to this application using "Add Service Reference" option of VS 2008.
I have updated an method in the WCF(signature is same) and modified the hosting address.
Now, I have changed my window app config file to point to right host address but it is still hitting the old WCF.
When I start digging it out, I found that, when I added the WCF reference initially using "Add Service Reference" option of VS 2008, It creates lots of files(Proxy classes) and those files are pointing to the old WCF address.
I do not want to update the service reference in my windows application using "update Service Reference" option of VS 2008 as if I do so than I need to distribute the exeutable again to all the users.

Any help would be appreciated.


Answers (1)