Generating proxy with svcutil

Hi guys after installing vs2005 and then trying to build a service proxy I get this message.
svcutil is not recognised as an internal or external command.Is anything wrong with my installation ? Please let me know asap cos i am stuck in this project unless i can build these service proxies.Thanks
[302 byte] By [Honey] at [2008-2-20]
# 1
svcutil.exe is shipped with WinFx runtime installation. So you have to install that as well.
Buddhike at 2007-9-8 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...
# 2
I had already installed the WinFx runtime and was not able to get the svcutil from the visual studio command window.
Honey at 2007-9-8 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...
# 3

Although my Visual Studio command prompt on my beta2/indigo installation it brings me to "c:\program files\Microsoft Visual Studio 8\VC", svcutil.exe is actually in c:\windows\microsoft .net\Framework\v2.0xxxxx. Paths take care of vs prompt finding it. Can you at least find the exe on your system?

JulieLerman at 2007-9-8 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...
# 4
Isn't svcutil.exe part of the WinFX SDK (as opposed to runtime)?

Regards

Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk

RichardBlewett at 2007-9-8 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...
# 5
I would have thought so too. But even the svcutil documentation says:

The Service Metadata Tool can be found at the Windows Communication Foundation (WCF) installation location, specifically, C:\WINDOWS\Microsoft.NET\Framework\v2.0.50110.

JulieLerman at 2007-9-8 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...
# 6
Yes, but the directory something is installed to isn't an absolute indicator of how the tool is packaged. The svcutil.exe documentation is part of the sdk documentation

http://winfx.msdn.microsoft.com/library/default.asp?url=/library/en-us/indigo_tools/html/d29d77f0-56ab-4c0f-bcd9-16c767f1eabf.asp

Again, I think you need to install the SDK to get svcutil.exe (although I don't have an environment with which to test my hypothesis).

Regards

Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk

RichardBlewett at 2007-9-8 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...
# 7

agreed. just trying to point out where to look Smile

JulieLerman at 2007-9-8 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...
# 8
Hello,

SvcUtil.exe shipped as part of the WinFX runtime in the PDC CTP release and can be located in the %windir%\microsoft.net\framework\v2.0.XXXXXX location. (Please make sure that you are looking in the correct version location - for the PDC release the version is 2.0.50215).

Moving forwards (the next WCF public release) SvcUtil.exe will be shipped as part of the WinFX SDK and will appear in the SDK binaries location.

I hope this helps.

Thanks,
- Craig McLuckie

CraigMcLuckie at 2007-9-8 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...
# 9
I believe the issue here is with the VS 2005 Command Prompt, not with the SDK or the install.

I installed the WinFX Runtime, the WinFX SDK and the VS Extensions. I then opened a VS 2005 command prompt and got the same error as honey. Turns out that the .NET Framework directory is not in the path in the VS 2005 Command Prompt. So of course svcutil won't be found.

But if I use one of the WinFX SDK command prompts, all works well.

Robert

RobertGreen at 2007-9-8 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...

Visual Studio Orcas

Site Classified