Solution:
- Create a console application using visual studio.
- Right click on the project and click on "Add Service Reference...".
- On the window, you will find the "Advanced" button at the bottom.
- Click on the button and it will open service reference settings window. It has a button at bottom called "Add Web Reference".
- Click on it and add web reference as shown below.
Praveen, thanks for this post. I didn't have time to dig into why I couldn't add a web ref to a console app I needed to bang out quickly. This post was a life-saver!
ReplyDeleteThanks Praveen! This post saved me from having to dig through lots of options.
ReplyDeleteWhen I click on "Advanced", it gives me an error "Could not load file or assembly 'VsWebSite.Interop, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The module was expected to contain an assembly manifest.".
ReplyDeleteCan you please help me in this? This happens in VS 2010, Console App, framework 4.0, 3.5
Thanks... I believe you just saved me a few hours :)
ReplyDeleteThanks ..! I across the website without solution, but this simple solution aewsome & helps me a lot
ReplyDeleteThanks its working fine
ReplyDeleteThank you Praveen, it's working great !
ReplyDeleteMy "Add web reference" option doesn't exist, help!
ReplyDeleteThanks...very helpful.
ReplyDeleteThank you..it was very helpful.
ReplyDeleteThanks it was very helpful.
ReplyDelete