Last active
December 14, 2015 00:59
-
-
Save azechi/fd665f38d647975cb91b to your computer and use it in GitHub Desktop.
WCFクライアントコード生成
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: v3.5のwcfクライアントコードを生成する | |
:: レジストリを検索して %windowsSdkDir% を設定 | |
call "%VS100COMNTOOLS%VCVarsQueryRegistry.bat" 32bit No64bit | |
call set path=%windowsSdkDir%bin\NETFX 4.0 Tools;%windowsSdkDir%bin;%path% | |
:: ※HogeServiceフォルダには余分なファイルが無いこととする | |
:: ※サービス定義の既定の名前空間を Fuga.Piyo に変換する | |
svcutil /t:code "$(SolutionDir)etc\ServiceReference\HogeService\*.*" /async /noConfig /targetClientVersion:Version35 /namespace:http://tempuri.org/,Fuga.Piyo /out:HogeServiceProxy.cs /directory:"$(ProjectDir)ServiceProxy" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment