Where has the Add Web Reference button gone in Visual Studio 2010

I was trying to add a web reference in visual studio 2010 this week and it took me a while to find out where Microsoft had hidden the functionality.

Microsoft always have to hide/rename things whenever they do an upgrade.

Instead of web references all I could find was the Add Service, which means going through the hell of trying to set up a WCF connection.  I’m sure WCF is really deep down very good but every time I have had to use it, I have always had connection/setup issues.

Anyway way back to Web References, which if you are using some legacy code then you might well need to use.  I tried adding a the Web Reference url with a ?wsdl on the end but this didn’t return me a normal web reference and it didn’t work in the same way, which basically meant the old code I had wouldn’t work.  So I had to find out how to add a Web Reference.

So go the references folder in Visual studio 2010,

right click and choose Add Service Reference

press the Advanced Button at the bottom left

Now you can finally add in a good old fashioned Web Reference by bashing on the Add Web Reference Button


 

I borrowed the image from this blog, who also had the same issue.

9 thoughts on “Where has the Add Web Reference button gone in Visual Studio 2010

  1. Steve January 27, 2011 / 5:52 pm

    Hey there, its cool you can use the image but please don’t hotlink to it, you can just copy and use it and just give me attribution/link back, but by linking directly to it, you are using my hosting to host that image. thanks

    Like

  2. ismail August 1, 2011 / 9:16 am

    Thanx

    Like

  3. anoop October 12, 2011 / 2:35 pm

    sorry i did as u told , but i got an error “There was an error downloading ‘http://localhost:49430/Service1.asmx’.
    Unable to connect to the remote server
    No connection could be made because the target machine actively refused it 127.0.0.1:49430
    There was an error downloading ‘http://localhost:49430/Service1.asmx/$metadata’.
    Unable to conn” will u help me

    Like

    • Hosk October 12, 2011 / 2:42 pm

      is the port number correct

      Like

  4. Ngan Menegay March 14, 2012 / 6:21 pm

    Thanks for posting this. I was pulling my hair out looking for the “Add Web Reference” option!

    Like

  5. Divya Sankar May 25, 2012 / 3:53 am

    Thanks for your solution….

    Like

  6. Irfan November 14, 2012 / 12:28 pm

    This is awesome. It made my day easier. Thank u very much for the solution:)

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.