Location > Blog

How to use WSE 3 in Visual Studio 2010

Update for my last post on this topic How to use WSE 3 in Visual Studio 2008 , I have upgraded some projects to Visual Studio 2010, in the project I was using a WSE 3.0 web service. The project compiled fine but I found when I updated the web service I was using the proxy class that was generated did not work. The proxy class inherited from System.Web.Services.Protocols.SoapHttpClientProtocol instead of Microsoft.Web.Services3.WebServicesClientProtocol. This was quite a problem I didn't fancy having to manually recreate it each time  wanted to update the WSE 3.0 web service.

  1. Download and install WSE 3.0 but if you are reading this its probably installed. 
  2. Locate the Visual Studio 2005 add-in at following location C:\ProgramData\Microsoft\MSEnvShared\Addins
  3. At that location you find the file “WSESettingsVS3.Addin”.
  4. Open file in locate the section <Version>8.0</Version>  and change it to <Version>10.0</Version> and save
  5. Open the Visual Studio menu and select Tools –> Options –> Environments 
  6. If its not already listed add C:\ProgramData\Microsoft\MSEnvShared\Addins
  7. Restart Visual Studio.

That's it, I restarted Visual Studio and updated the web service and the WSE 3.0 proxy class and methods were generated.
Tuesday October 5 2010 11:55 a.m.

Feedback

re: How to use WSE 3 in Visual Studio 2010
Thursday November 25 2010 12:27 a.m. emil
Isnt there a way to do it without changing devenv.exe.config? it worries me that idea to edit VS. i dont want to have any problem later and re-install my VS? anyway great post thanks.

re: How to use WSE 3 in Visual Studio 2010
Thursday November 25 2010 8:59 a.m. matt
I'm not aware of any other way to do it. I believe the entry in devenv.exe.config hooks up the automatic generation of the classes you need to create.

re: How to use WSE 3 in Visual Studio 2010
Saturday July 2 2011 3:29 a.m. Alberto
it works, but it doesnt work when i compile it in framework 4.0. any ideas?

re: How to use WSE 3 in Visual Studio 2010
Tuesday July 19 2011 9:01 p.m. Jansey
Hi, Yes, when i push F6 and my program would compile, unfortunatelly the system tells me: The Microsoft namespace is not contains the "Web" namespace.:( And really, i did not either find it.

re: How to use WSE 3 in Visual Studio 2010
Friday October 28 2011 3:36 a.m. brennan fuchs
No ProgramData folder.. found here: C:\Documents and Settings\All Users\Application Data\Microsoft\MSEnvShared\Addins The setting you specify in 2010 under environments does not exist either..

re: How to use WSE 3 in Visual Studio 2010
Friday October 28 2011 7:08 a.m. admin
When I installed WSE 3 I selected the option to install it as an Addin for the earlier version of Visual Studio which I assume creates the folder C:\Documents and Settings\All Users\Application Data\Microsoft\MSEnvShared\Addins check you have the Visual Studio tools installed.

Title
Name
Email
 
Url
Comments  
Enter code shown  
 
Cloud Computing & Cloud Hosting by Rackspace