Svcutil 不会为 asmx 生成异步方法或 GetEndpointAddress

Svcutil does not generate async methods or GetEndpointAddress for an asmx

提问人:developer9969 提问时间:9/22/2023 更新时间:9/22/2023 访问量:21

问:

我无法让 svcutil 像连接的服务那样生成代码。无法同时生成 async 和 sync 以及 getendpointAddress 方法

svcutil.exe /out:"C:\MyDir\reference.cs" /async /n:*,MyNamespace http://whatever.com/aa.asmx

我错过了什么?

C# WCF svcutil.exe

评论

0赞 Jiayao 9/25/2023
您可以尝试在命令的末尾添加如下内容:.或者获取更多错误日志以查找问题。wsdlsvcutil.exe http://whatever.com/aa.asmx?WSDL
0赞 developer9969 9/25/2023
我没有区别
0赞 Jiayao 10/6/2023
有什么进展吗?发生错误时有任何信息吗?

答: 暂无答案