Add web reference disabled in VS 2008

Posted on 2007-11-30
Medium Priority
Last Modified: 2013-12-14
Obviously Microsft is not supporting ATL Server in VS 2008 anymore. My projects from VS2005 that include WebServices connections could not compile because atlsoap.h file could not be found. After some research I found that ATL is now under open source and can be downloaded from htttp://www.codeplex.com. OK, now the project could be compiled and connected to service as expected. But any new service could not be included since the Add Web Rederence option is disabled in the Solution Explorer.
I found some hints on some blog that it works only if 3.5 Framework is targeted. I tried with new project but the option stayed disabled.
Obviously there is a way to use this option otherwise it would not appear on the popup menu in the Solutio Explorer. Does anybody know how to turn it on?
Question by:igams
  • 3
  • 2

Expert Comment

ID: 20476779
I encountered with the same problem...
But I saw the option works on my friend's notebook.

Accepted Solution

garytytech earned 1000 total points
ID: 20504444
In VS 2008 C++ projects, the "Common Language Runtime support" (/clr) should be selected to enable the "Add Web Reference" command. You can find the option in Project/Properties/Configuration Properties/General.

Author Closing Comment

ID: 31412029
True, which means I will have to switch to managed code. Obviously ATL and MFC are finished... Thanks.

Expert Comment

ID: 20508729
Microsoft should tell us the changes. It took me more than one week to figure out what happens to VS 2008! What do you think?

Author Comment

ID: 20509020
I am a regular attendee of TechEd conferences and I was even participating at PDC05 and Microsoft always claims that C++ is and will be supported and MFC is reflecting all the new goodies but that is just marketing blah blah. The practice is that they are pushing all C++ programmers to C# and when that job will be completed they will start to push VB programmers to the same direction. The practice is that they do not support unmanaged C++ anymore. VS2003 was the best for C++ and from then it just goes downwards. On last TechEd they announced a new galery of Office style controls for MFC, but it will obviously not be included in VS2008, perhaps added later as an option. Let us be surprised. Our company will not upgrade existing C++ projects to VS2008.

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
Suggested Courses
Course of the Month15 days, 2 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question