Add web reference disabled in VS 2008

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?
igamsAsked:
Who is Participating?
 
garytytechConnect With a Mentor Commented:
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.
0
 
garytytechCommented:
I encountered with the same problem...
But I saw the option works on my friend's notebook.
0
 
igamsAuthor Commented:
True, which means I will have to switch to managed code. Obviously ATL and MFC are finished... Thanks.
0
 
garytytechCommented:
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?
0
 
igamsAuthor Commented:
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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.