0
在我的開發機器中,我可以成功地從Visual Studio 2015部署到安裝在Windows Server 2012上的IIS 8.5上,MSBuild在Wndows Server 2012 R2上不觸發WebDeploy
msbuild projectname.csproj
/p:VisualStudioVersion=14.0
/p:DeployOnBuild=true
/p:DeployTarget=MSDeployPublish
/p:MsDeployServiceUrl=https://myserver:8172/msdeploy.axd
/p:AllowUntrustedCertificate=True
/p:DeployIisAppPath=projectname
/p:Username=tc
/p:Password=pass
在我的Windows服務器我已經安裝了的MSBuild,webdeploy和webdeploy的託管服務。 然而,運行同一命令的結果:
0 errors
1 warning (...Conflicts between different versions of the same dependent assembly...)
Build succeeded
而且它不會繼續部署,沒有錯誤,沒有任何消息。
我是否必須解決msbuild的部署警告信息還是缺少其他內容?