Unable to re-add service link

I have a WCF service running on a server. We have a proxy class to which we add all service references and I tried to add a service reference. However, it does not expose all methods, in particular the interface, allowing me to instantiate (this is VS 2008). However, when I create a new project and just add a service reference to it, it adds all interfaces correctly.

Any ideas on how to get the original project to add the project correctly? Is there something in memory that isn't cleared? I tried to remove the link, rebuild, close and reopen the project, but it still exits the same way.

I also tried deleting the project and re-creating it without even waiting.

0


source to share


1 answer


The problem has been resolved. It turns out that if you don't add all the necessary links to the project, then the links they need won't appear. It turned out that we needed to add System.Drawing as a reference and then the solution was added perfectly. I wish there was any feedback from MS on this, but if anyone comes across something similar in the future, just remember, you need to add all links ...



+1


source







All Articles