Search code examples
wcfservice-reference

WCF Error - Reference.cs is blank (empty)


I added the service reference in my project and it has created all required wsdl files. But when I looked at the reference.cs file, I found it blank.

-Anil


Solution

  • you can rightclick in the service reference created and click the Configure service reference... option. in the DataType section UnCheck Reuse types in referenced assemblies