Reputation: 11
By default svcutil.exe generates proxy class and its .config in C:\Program Files\Microsoft Visual Studio 9.0\VC. What is syntax for generating a proxy class in a specific project by using svcutil.exe ?
Upvotes: 1
Views: 1369
Reputation: 49965
Use the /directory
option.
To quote directly from the help which is displayed when you type svcutil /?
:
/directory:<directory> - Directory to create files in (default: current directory) (Short Form: /d)
Just to elaborate a little more... svcutil just generates the files, it doesn't manipulate the .proj file to add a file to the project, you have to do that yourself. What you might want to do is:
Upvotes: 1