0

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?

Jean-François Corbett
  • 37,420
  • 30
  • 139
  • 188
Maritim
  • 2,111
  • 4
  • 29
  • 59

1 Answers1

1

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!

Community
  • 1
  • 1
Maritim
  • 2,111
  • 4
  • 29
  • 59