Ok 코드를 작성하고 자세한 정보를 표시하는 동안 VS에서 명령 세부 정보를 가져오고 컨텍스트 메뉴의 게시 옵션을 사용하여 명령을 추출하여 명령을 내 빌드 서버로 가져갔습니다. 현재 테스트 웹 상자와 동일한 상자가되어 경로를 변경했습니다.Ms가 명령 줄에서 배포
Team Services의 MSBuild가 args "/ p : DeployOnBuild = true; PublishProfile = Test; DeployTarget = package"로 실행 중이므로 각 웹 응용 프로그램에 대한 패키지가 나옵니다.
이 ... VS는 내가 명령 줄에서 다음 (가독성을 돕기 위해 추가 서식) 실행 그래서 나는 소스 PARAM을 조정할 것을 의미했다 수행하는 방법에 약간의 차이 인
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
... 그것은 나에게 도메인 이름 (하나의 내가 함께 상자에 원격으로 사용)에 ...
를 결과 서버에서 가리키는 "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에 대해 어떤 이유로 든 이야기 할 수 없기 때문에 로컬 컴퓨터에서 명시 적으로 말하면 행복하게.
여기 몇 가지 마법사가 있습니까?