Home » Visual StudioRSS

Missing a menu option for Add Service Reference

I am using VS 2010 Release Candidate and I do not have the option to add Service References, either from the right click menu from the project nor the "Project" menu item. I have the generic Add Reference but not the Service reference. Any ideas? A colleague with VS 2010 RC does have them. ???

It works in VS 2008. I have tried targeting different frameworks and it doesn't matter. I have tried different type projects ( WPF, Winform, and Console ), no joy either.

Thanks,

MW
 

22 Answers Found

 

Answer 1

Hi Michael,

Is the target framework for your project .NET Framework 3.0 or later? (You can verify this in the Application tab of your project’s properties.)

If it targets a framework earlier than 3.0, the service  reference command won't appear.

HTH,
 

Answer 2

If this doesn't work, some people report that adding a line to the .csproj file restores the menu  command:

<ProjectTypeGuids>{14822709-B5A1-4724-98CA-57A101D1B079};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>

HTH,
 

Answer 3

Thanks Kemp, yes I am targeting 4.0. I alos tried 4.0 client, 3.0, and 3.5. I'll try adding the above line.
 

Answer 4

I tried it and I got "Add as Web Publisher" but not the "Add Service Reference"

Thanks.
 

Answer 5

When I create a C# WCF app, here are the GUIDs in the proj file:

<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>

The Add Service Reference command appears on the context menu.

If this doesn't work for you, it's possible that a required component is missing  (either it was deleted, corrupted, or didn't get installed), so you might try reinstalling VS 2010.

Beyond that, I'm not sure what else to recommend.

HTH,
 

Answer 6

That one did not work either. Re-install was my next step.

Thanks.
 

Answer 7

Hi Michael,

I am moving this thread from Base "Visual Studio Setup and Installation" forum to the "Visual Studio 2010 Setup and Installation" forum, since the issue is related to VS2010. There are more experts in the "Visual Studio 2010 Setup and Installation" forum.

Thanks
 

Answer 8

Thanks,

Update on my issue. I uninstalled VS 2010 and re-installed it. same problem, no option  to Add Service References.

I have noticed this anomaly. This occurs on my Vista machine. I also have VS 2010 Release Candidate installed on my XP machine and I can see the option on the menu(s). Anyone have an idea what I need to do on my Vista box to rectify this problem?
 

Answer 9

Bump. Any ideas all you MS senseis?
 

Answer 10

This works for me on W2K8. Maybe try running the Vista SP1 again to see if this resolves anything?

Thanks,
 

Answer 11

Re-install of VS 2010 RC did not work also got several Vista updates.

Guess I'll have to wait for VS 2010 release in April to see if it is fixed.
 

Answer 12

Hi Michael,
Do you think you can collect you VS setup logs using http://www.microsoft.com/downloads/details.aspx?FamilyID=e0da314f-6216-4a18-bc6b-7d29cf83af20&displaylang=en for me to take a look? Feel free to use skydrive if you need a place to upload the cab file.
 

Answer 13

Veronica,

I am using the collect.exe tool as I type, but I cannot access Skydrive from work ( websense and all ) so I will try it later from home. If I cannot I will give you my email address that you can respond to with an email or upload site I can hit.

Thanks,

Michael
 

Answer 14

Veronica,

This tool created hundreds of dd_xxx.txt files in my %temp% folder. Which ones do you want me to zip up?
 

Answer 15

Hi Michael,

The tool should have created a vslogs.cab file in your %temp%, you should upload just that file. The dd_xxx.txt files are the VS setup logs that should have been cabbed by the tool in the vslogs.cab file.

 

Answer 16

I am having the same problem. Could you help me fix this problem?

Here is my vslogs.cab file: http://cid-4fb2a070efa1ea23.skydrive.live.com/self.aspx/.Public/vslogs.cab
 

Answer 17

Are you using VS 2010 RC or RTM?

Thanks,

 

Answer 18

Are you using VS 2010 RC or RTM?

Thanks,


If this answers your question, please use the "Answer" button to say so | Ben Cline

VS 2010 RTM
 

Answer 19

When I create a C# WCF app, here are the GUIDs in the proj file:

<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>

The Add service  Reference command appears on the context menu.

If this doesn't work for you, it's possible that a required component is missing  (either it was deleted, corrupted, or didn't get installed), so you might try reinstalling VS 2010.

Beyond that, I'm not sure what else to recommend.

HTH,
- Kemp Brown [MSFT]
does this work with visual basic 2010 rtm express?
 

Answer 20

I have this same problem VS2010 Microsoft Visual C# 2010   01019-532-2002102-70420.

I uninstalled rebooted reinstalled still not in the menu. The same ISO installed on another machine works fine.

I created a new local Win7 profile and logged in and the Add service  Reference returned. User profile related so I investgated that.

Then I tried "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" /resetuserdata.

I deleted all the *.vssettings files and still will not show.

What file do I drill into tweak this setting?

Also when I upgrade webservice dependent projects from VS2008 .NET3.5, all the webservice references are omitted in the conversion process. So I'm stuck between two VS versions. Non web service projects in VS2010 and WebService projects in VS2008. This is the most irritating thing.

Thanks

Keith

 

Answer 21

I am having the same issue. Does anyone have a solution to this bug yet? The original post was Feb 23rd and still there is no fix posted.
 

Answer 22

When I create a C# WCF app, here are the GUIDs in the proj file:

<PROJECTTYPEGUIDS>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</PROJECTTYPEGUIDS>

The Add Service Reference command appears on the context menu.

If this doesn't work for you, it's possible that a required component is missing  (either it was deleted, corrupted, or didn't get installed), so you might try reinstalling VS 2010.

Beyond that, I'm not sure what else to recommend.

HTH,
- Kemp Brown [MSFT]

Many thanks to your description! This is what I'm looking for.
 
 
 

<< Previous      Next >>


Microsoft   |   Windows   |   Visual Studio   |   Follow us on Twitter