Search code examples
.netweb-servicesservice-reference

Web services Add service Reference .NET duplicating data contracts


How to avoid duplicating data contracts when adding service reference to project? and if there's no way to do this, which classes should I use, duplicated from service proxy or classes which I have referenced to project in usual way?

thanks in advance :)


Solution

  • When you set a service reference you can select the assemblies that contain type that you want to reuse in the Configure Service Reference Dialog Box