Control the ouput generated by VS when a web reference is added

J

Jack Wright

Dear All,
We are building a application in WinForms and consume our business
objects via WebServices. When our developers create Forms and add a
Web reference to their project, they often need to modify the
reference.cs file that is generated. For e.g we clean the class
definitions that get generated at the end of the method declaration
section. We add our assembly references. Is there a way to control the
output (reference.cs) that gets generated so that the developer does
not have to clean up the reference.cs file? We would also like our
proxy class to be derived from our class rather than
System.Web.Services.Protocols.SoapHttpClientProtocol. Please let me
know if this is possible.

TALIA
Many regards
Jack
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top