2013-09-24 48 views
2

我只是想建立的來源,並將其複製到另一個文件夾,但我有錯,還是我沒有得到它或兩個:的TeamCity - 網絡部署帶有的MSBuild和文件系統

/p:Configuration=Release 
/p:OutputPath=bin 
/p:DeployOnBuild=True 
/p:DeployTarget=MSDeployPublish 
/p:MsDeployServiceUrl=https://{server}:8172/msdeploy.axd 
/p:username=**** 
/p:password=**** 
/p:AllowUntrustedCertificate=True 
/p:DeployIisAppPath=test.livesite.com 
/p:MSDeployPublishMethod=WMSVC 

我真正想要的只是建立併成功複製到:D:\ f1 \ f2 \ website。我該怎麼做呢?

我做了一些改變,現在這裏是我在哪裏:

Build 
MSBuild 
src\ZooKeeper.Web\ZooKeeper.Web.csproj 
MSDeployPublish 
VSMSDeploy 
C:\Program Files(x86)\MSBuild\Microsoft\VisualStudio\v11.0\Web\Microsoft.Web.Publishing.targets(4377, 5): error 
ERROR_COULD_NOT_CONNECT_TO_REMOTESVC: Web deployment task failed. 
(Could not connect to the remote computer ("ZooKeeper") 
using the specified process ("Web Management Service") because the server did not 
respond. Make sure that the process ("Web Management Service") is started on the remote 
computer. Learn more at:  http://go.microsoft.com/fwlink/? 
LinkId=221672#ERROR_COULD_NOT_CONNECT_TO_REMOTESVC.) 
Project src\ZooKeeper.Web\ZooKeeper.Web.csproj failed. 
src\ZooKeeper.Web.Tests\ZooKeeper.Web.Tests.csproj 
Project src\ZooKeeper.Web.Tests\ZooKeeper.Web.Tests.csproj failed. 
    Project src\ZooKeeper.Web.sln failed. 

回答

0

網絡部署需要大量的東西來安裝,也許你忽略的東西嗎?

關注這個偉大的教程:http://weblogs.asp.net/scottgu/archive/2010/09/13/automating-deployment-with-microsoft-web-deploy.aspx(它的工作完美的我)

+0

其實我有3個生成步驟。一個是構建,一個是運行測試,第三個是部署步驟。它給我一個錯誤:ERROR_DESTINATION_NOT_REACHABLE – TooMuchToLearn

+0

這將是很好的在你的原始文章中指定這個,你可以添加它嗎?因此我會修改我的答案。 – 56ka

+0

你說得對。我以爲我已經安裝了,但我所做的只是更新了網絡平臺安裝程序。我做到了,它變得很棒。 – TooMuchToLearn

相關問題