Okは、コードをビルドし、冗長なビルド中にVSからコマンド詳細をプルしました。コンテキストメニューの[公開]オプションを使用してコマンドを抽出しました。現時点で私のテストウェブボックスと同じボックスになり、パスが変更されました。Msコマンドラインから展開する
チームサービスのMSBuildはargs "/ p:DeployOnBuild = true; PublishProfile = Test; DeployTarget = package"を実行しているので、各Webアプリケーション用のパッケージが吐出されます。
これは、VSが、それは私が、私は、コマンドライン(読みやすさを支援するために追加の書式設定)...
C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe
-source:package='..\API.zip'
-dest:auto,ComputerName='https://localhost/MSDEPLOYAGENTSERVICE',UserName='MSDeployUser',Password='********',AuthType='NTLM',IncludeAcls='False'
-setParam:name='IIS Web Application Name',value='Api\MyApp'
-verb:sync
-retryAttempts=2
-disableLink:AppPoolExtension
-disableLink:ContentExtension
-disableLink:CertificateExtension
から以下を実行したように、元のparamを微調整しなければならなかったものではないかと少し異なっています...それは、サーバを指しドメイン名(私はとボックスにリモートに使用するもの)で...
結果では「localhost」を置き換える...Info: Using ID '6f5795f6-79bf-49cd-ac27-cc320e3af063' for connections to the rem
ote server.
Error: Could not complete the request to remote agent URL 'https://localhost/MSD
EPLOYAGENTSERVICE'.
Error: The underlying connection was closed: An unexpected error occurred on a s
end.
Error: Unable to read data from the transport connection: An existing connection
was forcibly closed by the remote host.
Error: An existing connection was forcibly closed by the remote host
Error count: 1.
...私は、次の応答を得ました
Info: Using ID 'b4820db6-a975-4a77-96f1-51390bcced37' for connections to the rem
ote server.
Error Code: ERROR_DESTINATION_NOT_REACHABLE
More Information: Could not connect to the remote computer ("<my domain>"). On the remote computer, make sure that Web Deploy is installed and that t
he required process ("Web Deployment Agent Service") is started. Learn more at:
http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_NOT_REACHABLE.
Error: The remote server returned an error: (404) Not Found.
Error count: 1.
...私はドメイン上のマシンにリモートで接続することができますが、何らかの理由でその上にMSDeployと通信することはできません。ローカルコンピュータから明示的に話してもそうではないようです幸せになる。
ここでいくつかのウィザードがありますか?