WCF Error - Reference.cs is blank (empty) [closed]

泪湿孤枕 提交于 2019-12-23 12:28:40

问题


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


回答1:


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




回答2:


This happens if the add service references fails.

We have seen this fail with very large contracts where the size of the response is greater than the configured size in WCF.



来源:https://stackoverflow.com/questions/5988260/wcf-error-reference-cs-is-blank-empty

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!