Quantcast
Channel: Silverlight 5 forum
Viewing all articles
Browse latest Browse all 1083

SLsvcUtil.exe not working in VS 2012

$
0
0

I use SLsvcUtil.exe to create my WCF proxy class and now that I upgraded to a new computer and from VS 2010 to 2012 - it no longer works.  Normally I have a cmd file with the following text in it:

SLsvcUtil.exe /slsvcutilConfig:client.config http://localhost/xxxxx/WebServices\Company/CompanyService.svc
copy CompanyService.cs "D:\Apps\xxxxx\App\UIControls\ProxyWrapper\Company\"
copy ServiceReferences.ClientConfig "D:\Apps\xxxxx\App\UIControls\ProxyWrapper\Company\"

Then I would open the VS 2010 command prompt and paste in this text to run it:

D:\Apps\xxxx\App\UIControls\ProxyWrapper\Company\Tools\ProxyGen_CompanyService.cmd

and life was good.  but now on the new machine and after updating the paths, I get the following error msg in the command window:

C:\Program Files (x86)\Microsoft Visual Studio 11.0>SLsvcUtil.exe /slsvcutilConf
ig:client.config http://localhost/xxxxx/WebServices\Company/CompanyServic
e.svc 'SLsvcUtil.exe' is not recognized as an internal or external command,
operable program or batch file.

Why would 'SLsvcUtil.exe' not be recognized?

Thank you.


Viewing all articles
Browse latest Browse all 1083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>