4

Apparently, it was possible in Visual Studio to right click on project in the Solution Manager and "Add Service Reference". This seems not possible in Visual Studio 2015. I am building a Console App. Does anyone have a solution?

Kevin Wu
  • 1,357
  • 1
  • 15
  • 34
  • 2
    I see `Add Service Reference` when i right click on `References` of a project in vs2015. Also I believe it's always in the `Project` menu. – Jonesopolis Aug 21 '15 at 14:01
  • There is this option in vs2015. What is your target framework? Maybe this helps https://social.msdn.microsoft.com/Forums/vstudio/en-US/f295973f-5679-468d-8353-8ae26fa5889f/cannot-add-service-reference?forum=wcf – Viva Aug 21 '15 at 14:04
  • @Jonesopolis Maybe you dont have a console app – Kevin Wu Aug 21 '15 at 14:20
  • @west123 I am using a console app. what .NET version are you using? – Jonesopolis Aug 21 '15 at 14:28
  • You Sent the same link as the Person above. None of them work – Kevin Wu Aug 21 '15 at 14:30
  • For what it's worth, I have the same problem. I changed it to a WinForms app and the option to add a service reference appeared. – billb Sep 09 '15 at 13:16
  • Possible duplicate of [How to add a web service reference in Visual Studio 2015 to a console app](http://stackoverflow.com/questions/31852448/how-to-add-a-web-service-reference-in-visual-studio-2015-to-a-console-app) – BartoszKP Nov 02 '15 at 15:19

1 Answers1

0

You can do it in VS2015; perhaps you are still running your application. Make sure your application has been stopped.

  • Can you also share how to do it? Just pointing out that it is possible is usually not enough. – Noel Widmer May 30 '17 at 14:10
  • Go to your Solution Manager, find the project you want to add the reference to, right click on references and click Add Service Reference, again remember to stop your application before doing this, otherwise it will be grayed out. – Seth Dorris Jun 16 '17 at 16:25