Run wizard to modify generated code

Topics: General Discussion Forum
Apr 2, 2007 at 1:49 PM
I was wondering if there is a way to run a wizard again to modify previously generated code.

I.e. I created a service contract. This contract exposes one function (operation contract). Later on I want to add another function (to the same interface). Is the only way to do this to add the new function by hand or is there a way to "re run" the wizard and simply add the new function like I generated the first one?

Thanks for your help in advance.
Apr 2, 2007 at 7:44 PM
The current version of WSSF does not supprot incremental updates nor roundtriping so you may need to add your new functionality along with the already generated members in order to do that. Notice that most of the classes generated by the WSSF are partial classes so you may add your new functionality on other partials and you may avoid overwriting your updates while re running the wizards. Unfortunatelly this is not the case for the service contract since it is an interface and not a partial class.