简体   繁体   中英

WCF Metadata reference cannot be resolved Error, WCF Service

I have a WCF service issue. I made some changes to the service rename/added/removed services. Solution builds fine but when I reference this WCF service from a test solution...getting this error. It seems like there are some old references that haven't been removed. Looking for some feedback on how to resolve this. Thanks Jay

Use scvutil.exe to generate the service reference and then just add it as you would any other code.

Or even better, just directly reference the assembly(s) containing the service and type definitions and don't bother with the pre-generated proxy.

Appreciate this doesn't answer your question directly.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM