.net web service: Can't add service reference, only web reference

后端 未结 5 1223
无人及你
无人及你 2020-12-30 06:26

I have an existing project that consumes web services. One was added as a service reference, and the other as a web reference. I don\'t recall why one was added as a web ref

5条回答
  •  悲哀的现实
    2020-12-30 07:09

    I suspect it is trying to re-use the types from the other reference. Click Advanced... and remove the "re-use types in referenced assemblies" box. You should also ensure that the service name is unique, to avoid conflicts.

提交回复
热议问题