2

ソースをビルドして別のフォルダーにコピーしたいだけですが、何か問題があるか、取得できません。またはその両方です。

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

1 に答える 1