That won't work as it is more than likely that the directory where
svcutil is not in the PATH environment variable.
Instead, the OP needs to specify the full path to svcutil.exe in the
arguments to the Process class. That's really the only thing that is
missing (which was pointed out in another thread to the OP as well, by
myself, and others).
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"ClayB" <cl***@syncfusion.comwrote in message
news:11**********************@n76g2000hsh.googlegr oups.com...
Try code like:
Process proc = new Process();
proc.StartInfo.FileName = @"svcutil.exe";
proc.StartInfo.Arguments = @"http://localhost/COWFeedyardService/
Services/Animal.svc/out:Animal.vb /config:App.config";
proc.Start();
=====================
Clay Burch
Syncfusion, Inc.