.Net 4.5 Svcutil generates two operations with the same name (Method and MethodAsync)

前端 未结 1 1407
后悔当初
后悔当初 2021-01-08 00:45

I am consuming a predefined wsdl with svcutil a la:

svcutil some_service.wsdl

one of the methods generated has the following signature:

相关标签:
1条回答
  • 2021-01-08 01:05

    The default behaviour appears to have been changed. If you provide the /syncOnly parameter it preserved the old behaviour for me.

     /syncOnly                          - Generate only synchronous method
                                      signature. Default: generate synchronous
                                      and task-based asynchronous method
                                      signatures.
    
    0 讨论(0)
提交回复
热议问题