Free cookie consent management tool by TermsFeed Policy Generator

source: stable/HeuristicLab.Clients.OKB/3.3/Query/ServiceClient/GenerateServiceClient.cmd @ 15301

Last change on this file since 15301 was 15261, checked in by jkarder, 7 years ago

#2743: merged r14722, r14726, r14732, r14738, r14748:14749, r14820, r14828, r15005 and r15075 into stable

File size: 1.0 KB
Line 
1@ECHO OFF
2
3SET HOST=
4SET GENERATECONFIG=
5
6ECHO.
7ECHO *******************************************************************************************
8
9SET /P HOST=Which host should be used? [services.heuristiclab.com]:
10IF "%HOST%"=="" SET HOST=services.heuristiclab.com
11
12SET /P GENERATECONFIG=Would you like to generate the configuration file? [y]:
13IF "%GENERATECONFIG%"=="" SET GENERATECONFIG=y
14
15SET ARGS=http://%HOST%/OKB-3.3/QueryService.svc ^
16/out:QueryServiceClient ^
17/namespace:*,HeuristicLab.Clients.OKB.Query ^
18/collectionType:System.Collections.Generic.List`1 ^
19/targetClientVersion:Version35 ^
20/enableDataBinding ^
21/syncOnly
22
23IF "%GENERATECONFIG%"=="y" (
24  SET ARGS=%ARGS% /config:..\..\app.config /mergeConfig
25) ELSE (
26  SET ARGS=%ARGS% /noConfig
27)
28
29ECHO.
30ECHO Generating QueryService client
31ECHO.
32
33SETLOCAL ENABLEDELAYEDEXPANSION
34svcutil.exe %ARGS%
35ENDLOCAL
36
37ECHO.
38ECHO Generation of QueryService client finished.
39ECHO *******************************************************************************************
40ECHO.
41
42PAUSE
Note: See TracBrowser for help on using the repository browser.