For some reason I cannot instantiate the class nor access the namespace of WCF service references I add to my VS2010 project. I had this problem last week too and I solved it by creating a new client project, however I don’t want to do that every other day when I need to add a service reference.
Does anyone have any experience with this kind of problem?
I found my solution at Sometimes adding a WCF Service Reference generates an empty reference.cs
I chose to configure the service reference and unchecked “Reuse types in referenced assemblies”, that solved it!