Solved

Add web reference disabled in VS 2008

Posted on 2007-11-30
5
2,684 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this 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 use and create new code templates in NetBeans IDE 8.0 for Windows.

762 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

11 Experts available now in Live!

Get 1:1 Help Now