المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Proxy Classes - Copy/Paste Pre-compiler



C# Programming
12-03-2009, 04:15 AM
Hi,

Firstly I am currently a Project Manager so I don't have the detail I would probably have if this was an Open Source issue which I am more familar with. Anyway enough of the caveats.

My understanding is the team create Proxy Classes using WSDL.exe. These classes and then cut and paste into other code which uses them. Please please please don't ask why, accept it does and if you are still reading read on.

What I want to know is,

Does anyone know of any code which could be used to automate this. I was thinking, project managers can, that a pre-compiler of some sort could solve this.

E.g. in the source which need to have the pasted code you could have.

// #AUTO_GENERATED_SOURCE_FILE:Auto_GeProxy_Class.cs #FUNCTION_TO_COPY:My_Foo()

Then make a tool which pre-processing this appropriately.

People are using VS2008

Thanks for listening.