Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/extjs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
TeamCity-使用MSBuild和文件系统进行Web部署_Msbuild_Teamcity - Fatal编程技术网

TeamCity-使用MSBuild和文件系统进行Web部署

TeamCity-使用MSBuild和文件系统进行Web部署,msbuild,teamcity,Msbuild,Teamcity,我只想构建源代码并将其复制到另一个文件夹,但我有一些错误,或者我没有得到它,或者两者都有: /p:Configuration=Release /p:OutputPath=bin /p:DeployOnBuild=True /p:DeployTarget=MSDeployPublish /p:MsDeployServiceUrl=https://{server}:8172/msdeploy.axd /p:username=**** /p:password=**** /p:AllowU

我只想构建源代码并将其复制到另一个文件夹,但我有一些错误,或者我没有得到它,或者两者都有:

/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. 

Web部署需要安装很多东西,也许您遗漏了什么


遵循这个伟大的教程:(它对我来说非常有效)

我实际上有3个构建步骤。一个进行构建,一个运行测试,第三个是部署步骤。这给了我一个错误:错误\目的地\不可到达在你的原始帖子中指定这一点会很好,你能添加它吗?因此,我将修改我的答案。你是对的。我以为我已经安装了它,但我所做的只是更新web平台安装程序。我做到了,一切都很顺利。