Folks, just came accross a weird issue. I'm not sure how many of you guys have hit it.
My projects target different versions of the .Net framework.
Each of them use both the conventional asmx webservices and the WCF.
One of the issues I stumbled upon today, was not able to find the "Add Web Reference" option in the context menu in the solution explorer.
My target framework is 3.5.
If any of you have faced similar issues, you can try out the following.
- Right-Click on the project in Solution Explorer. Select Add Service Reference.
- Click the "Advanced" button as shown below
Here you can find the conventional dialog to add web references.
If you face the reverse case, that is Not able to find the "Add Service Reference" option, you need to check that your project targets .Net Framework 3.0 or above. (Right-click your project -> Select Properties)
No comments:
Post a Comment