Adding service reference in VS 2017, MVC

后端 未结 3 933
余生分开走
余生分开走 2021-01-22 11:52

How do I add a service reference in VS 2017 MVC?

I\'ve tried finding the add service reference button but its not there, there is only add reference and add connected s

相关标签:
3条回答
  • 2021-01-22 12:09

    I thought I would add a answer for anyone encountering this problem in Visual Studio 2019. Right Click on Dependencies(less cluttered view) -> Add Connected Service.

    Click Microsoft WCF Web service Reference Provider.

    Configure your web service.

    0 讨论(0)
  • 2021-01-22 12:14

    I hope this will help you:

    Install-Package Microsoft.Exchange.WebServices -Version 2.2.0
    
    0 讨论(0)
  • 2021-01-22 12:21

    Find 'References' on 'Solution Explorer' window

    Right click on 'References', then you will see 'Add Service Reference...'

    Click 'Add Service Reference...' then you will see another window.

    Enter your webservice url. Then you will see smth in 'Services:' panel. Select it give a name from 'Namespace:', then click 'Ok'. That's all.

    0 讨论(0)
提交回复
热议问题