Visual Studio 2008 not generating Web Service Reference.cs proxy class


I just ported a project from Visual Studio 2005 format to Visual Studio 2008. This project makes heavy use of consuming web services.

We use our own custom parent class for the generated proxy classes (Reference.cs) that Visual Studio generates up.

I added a new web reference using Visual Studio 2008, and it did not generate the proxy class, just a file. It appears that perhaps it builds these on the fly. This won't work for my needs, as I need to modify the code to fit our framework.

Note, this is Web References, not service references.

Does anyone know of a way to make VS2k8 work like 2k5 for me?

Best Solution

Perhaps you ought to use svcutil.exe or wsdl.exe to generate proxy class files.