Svcutil exe где находится

для моего WCF мне нужно создать файл конфигурации для моего клиентского приложения, чтобы указать такие вещи, как привязка службы, адрес службы и контракт.

6 ответов

введите Microsoft Visual Studio Command Prompt : where svcutil.exe . На моей машине он находится в: C:Program FilesMicrosoft SDKsWindowsv6.0AinSvcUtil.exe

с последней версией windows (например, Windows 10, другие серверы) введите/найдите "Командная строка разработчиков.."Появится соответствующая командная строка для версии Visual Studio.

например, Командная строка разработчика для VS 2015

Поиск использования SvcUtil.exe вместо команды wsdl .

Это означает, что SvcUtil не установлено ?

прекрасное руководство говорит, что он должен находиться в этом месте, поэтому, вероятно, не установлен.

1 ответ

Где находится файл SvcUtil.exe?

Он не установлен на вашем компьютере.

Из ссылки в вашем вопросе:

The ServiceModel Metadata Utility Tool can be found at the Windows SDK installation location, specifically, C:Program FilesMicrosoft SDKsWindowsv6.0Bin

Вам нужно установить Windows SDK (который входит в состав Visual Studio).

You can use SvcUtil.exe to generate a proxy and the configuration settings that define how to connect to the native endpoint for the Dynamics GP service. This may be necessary if Visual Studio cannot create the appropriate entries in the app.config for the service reference you add to your project. Complete the following procedure to use SvcUtil.exe to generate a proxy and configuration settings.

Open a Visual Studio Command Prompt window.

Click the Start menu, click Visual Studio, click Visual Studio Tools, and then click Visual Studio Command Prompt.

Set the current folder.

In the command prompt, se t the current folder to the location where you want the generated proxy and configuration files to be created.

Читайте также:  Logitech v uas14 драйвер

Run SvcUtil.exe to generate the output files.

To use svcutil.exe you need to provide the URL of the native endpoint for the Dynamics GP service and the namespace of the service reference you added to your Visual Studio project. Typically, this is "DynamicsGPService".

Enter the following on a single line and then press Enter.

For my WCF, I need to generate configuration file for my client application to specify things such as binding of service, the address of the service and the contract.

6 Answers 6

Type in the Microsoft Visual Studio Command Prompt : where svcutil.exe . On my machine it is in: C:Program FilesMicrosoft SDKsWindowsv6.0AinSvcUtil.exe

With latest version of windows (e.g. Windows 10, other servers), type/search for "Developers Command prompt.." It will pop up the relevant command prompt for the Visual Studio version.

e.g. Developer Command Prompt for VS 2015

If you are using vs 2010 then you can get it in

Try to generate the proxy class via SvcUtil.exe with command

To check if service is available try in your IE URL from example upon without myService1 postfix

Rate this post

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *