Reputation: 8876
How to generate client proxy for a WCF service to a particular location?
Suppose I want to create the proxy class in a folder "C:\Client\".
Please help.
Upvotes: 0
Views: 184
Reputation: 50712
svcutil tool can help you
svcutil.exe /d:C:\Client\ /out:generatedProxy.cs http://localhost:8000/ServiceModelSamples/service
Upvotes: 1
Reputation: 4051
When you run svcutil.exe, you can specify the output location using the o switch:
svcutil.exe whatever.wsdl /o:C:\Client\Services.cs
(Should be something like that, but maybe you have to quote the full path or something)
Upvotes: 1