Solved

Add web reference disabled in VS 2008

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
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.

785 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