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.
其实我有3个生成步骤。一个是构建,一个是运行测试,第三个是部署步骤。它给我一个错误:ERROR_DESTINATION_NOT_REACHABLE – TooMuchToLearn
这将是很好的在你的原始文章中指定这个,你可以添加它吗?因此我会修改我的答案。 – 56ka
你说得对。我以为我已经安装了,但我所做的只是更新了网络平台安装程序。我做到了,它变得很棒。 – TooMuchToLearn