Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Update Service Reference from within solution

I have a solution that has a WCF service project, and a client project. I can successfully add the service reference by discovering the service within the solution. However, after adding the service reference and making changes, I am unable to update the service reference. I know it's because the service isn't actively running/being debugged. In order to update the service reference I have to delete it, then add it back again since you can't update the service reference while debugging. I just updated to VS 2015 and was hoping that a solution had been added but that doesn't seem to be the case. Am I missing something or is that just how it is?

like image 456
jmgardn2 Avatar asked Nov 14 '25 09:11

jmgardn2


1 Answers

Run it without debug: Press CtrlF5 and then update the reference. Not being familiar with your project, you may need to host it in IIS or self host in a console app or something to do this.

like image 165
TechneWare Avatar answered Nov 17 '25 06:11

TechneWare