Slsvcutil.exe is just a command-line wrapper around the same APIs that Add Service Reference calls. What's the 'corrupt' service references that you were hitting?
Sure, but I reckon it's much neater than adding a project ref which produces an opaque clump of files under the Service References folder (I found 27 in one my examples). I now put this single line in a batch file and run it when the service changes: "%ProgramFiles(x86)%\Microsoft SDKs\Silverlight\v4.0\Tools\slsvcutil" http://localhost/fooservice/Foo.svc?wsdl /noConfig /noStdlib /n:"*,Foo.App.Svcref" /r:"C:\Program Files (x86)\Microsoft Silverlight\4.1.10111.0\System.Windows.dll" /o:..\Foo.App\FooService.Generated.cs There are lots of switches that people discuss tweaking, but the defaults are what I want. Greg
