开发者

Problem wth SvcUtil.exe command

开发者 https://www.devze.com 2023-03-14 12:19 出处:网络
I am attempting to generate a proxy using the SvcUtil.exe tool in VS2010 Tools, I am using the following command

I am attempting to generate a proxy using the SvcUtil.exe tool in VS2010 Tools, I am using the following command

"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\SvcUtil.exe /language:cs 
   /out:generatedProxy.cs /config:app.config http://localhost:8000/Service"

When I enter this comman in the directory of the client I am attempting generate the proxy for, I get the following error from the comman tool.

The filename,directory of volumn label syntax is incorrect

I am not quite sure why it is telling 开发者_如何学Cme this.

Is there anything obvious that I am missing?


You should close the quotes after svcutil.exe, instead of at the end of the line - the command prompt is not finding a program with that name in your line.

"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\SvcUtil.exe"
    /language:cs /out:generatedProxy.cs
    /config:app.config http://localhost:8000/Service
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号