Solved

Add web reference disabled in VS 2008

Posted on 2007-11-30
5
2,689 Views
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?
0
Comment
Question by:igams
  • 3
  • 2
5 Comments
 
LVL 1

Expert Comment

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

Accepted Solution

by:
garytytech earned 250 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.
0
 

Author Closing Comment

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

Expert Comment

by:garytytech
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?
0
 

Author Comment

by:igams
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.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
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…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now