teamcity is not executing msbuild command

I have a configuration in teamcity that package and deploys. I am using the following to package and deploy on a remote server

/M /P:Configuration=%env.Configuration% /P:DeployOnBuild=True
/P:DeployTarget=MSDeployPublish /P:MsDeployServiceUrl=%env.TargetServer%/MsDeployAgentService /P:MSDeployPublishMethod=RemoteAgent /P:CreatePackageOnPublish=True /P:Username=%env.username% /P:Password=%env.password%

It is not doing any thing just building the project. Any idea what I am missing here. Process that makes a package is missing from build. Validating Web Deploy package/publish. plz help


Have a look at the You're deploying it wrong! TeamCity, Subversion & Web Deploy series. My suspicion is that either Web Deploy is not configured correctly on the server (ie service not started) or that your credentials are incorrect. Try going through the steps in the series above and getting the basics to work work leaving TeamCity until the very end. Get it deploying from Visual Studio then the command line and work from there.


Here is my deployment string for our TeamCity publish:

/t:ResolveReferences;_CopyWebApplication /p:OutDir=......buildFramework.Productionbin;WebProjectOutputDir=......buildFramework.Production

I believe the part you need is /t:ResolveReferences;_CopyWebApplication

链接地址: http://www.djcxy.com/p/81636.html

上一篇: 使用MSBuild将Web部署到服务器

下一篇: teamcity不执行msbuild命令