svcutil.exe的VS添加引用 [英] SvcUtil.exe vs Add Reference

查看:241
本文介绍了svcutil.exe的VS添加引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么要使用svcutil.exe的时候在VS.NET添加服务引用提供了所有你需要的代理类?

Why would someone use SvcUtil.exe when Add Service Reference in VS.NET provides all the proxy classes you'll need?

推荐答案

在VS有时添加服务引用无法创建一个有用的代理。相反,它为您提供了一个空的Reference.cs细节<一个href="http://stackoverflow.com/questions/9224525/wcf-service-reference-generates-an-empty-reference-cs-due-to-duplexbinding">here和这里文件。我创建了一系列的bat文件调用svcutil.exe的生成代理类。

Sometimes Add Service Reference in VS fails to create a useful proxy. Instead it gives you an empty Reference.cs details here and here file. I've created a series of bat files to call SvcUtil.exe to generate the proxy classes.

这篇关于svcutil.exe的VS添加引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆