Add Service Reference Menu not Available for Managed Visual C++ Projects - by Frank Boyne

Status : 

  By Design<br /><br />
		The product team believes this item works according to its intended design.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 545560 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 3/29/2010 10:01:37 PM
Access Restriction Public


The Add Reference dialog for Visual C++ CLR projects offers .NET, COM, Projects, Browse and Recent tabs but does not offer a tab for Service References.  Nor is there a separate "Add Service References" menu item.

The SvcUtil.exe tool supports CPP as a language choice and other languages support Add Service Reference. 
Sign in to post a comment.
Posted by Microsoft on 7/8/2010 at 9:00 PM
Hi Frank,

The support for web references was discontinued for C++ projects in VS2010. WsUtil is a utility that consumes .wsdl file and generates C++ wrappers that can be used to communicate with the webservice. In VS2010 the project/build system is quite extensible so if you could integrate the wsutil tool as part of your build process to integrate a web service in your C++ component.

Amit Mohindra
Visual C++ Team
Posted by Frank Boyne on 6/21/2010 at 11:04 PM
I'm not really sure what Web References and WsUtil have to do with the bug I reported?

Go Look at a C# or VB.NET project in Visual Studio 2010. Open the Solution Explorer, Right Click on the project and read the resulting context menu. Note the entries for Add, Add Reference, and Add Service Reference. Note especially that last one. Clearly Add _Service_ Reference has not been discontinued in Visual Studio 2010.
Posted by Microsoft on 6/21/2010 at 7:16 PM
Hi Frank,

Thanks for your feedback. In VS2010 we discontinued the support for adding web references. In VS2008 we supported integrating web references. In order to integrate web references you can use wsutil.exe shipped as part of VS to deal with wsdl files. The tool can be used from within C++ projects by specifying it as part of custom build tool or you can author a custom build rule to integrate the tool as part of your build process.

Amit Mohindra
Visual C++ Team
Posted by Microsoft on 3/30/2010 at 2:43 AM
Thank you for reporting the issue.
We are routing this issue to the appropriate group within the Visual Studio Product Team for triage and resolution.These specialized experts will follow-up with your issue.