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
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.
I hope this will help you:
Install-Package Microsoft.Exchange.WebServices -Version 2.2.0
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.