开发者

Is it possible to publish TFS 2010 Builds to IIS 6?

Before I spend too much time trying to make this work, I would like to know if it's even possible. I can build the projects fine using TFS. I can also publish directly from Visual Studio without issue. But when trying to publis开发者_StackOverflow社区h via TFS, it is trying to use the following url: https://dev.server.com:8172/msdeploy.axd?site=dev.server.com. It is my understanding that port 8172 is the Windows Management Service, which I do not belive runs with IIS6. Is there any way to publish the applications using port 80, the same url that I supply manually withing visual studio?

Thx


Use the following settings ni build definition of TFS, and it should work:

/p:DeployOnBuild=True 
/p:DeployTarget=MsDeployPublish 
/p:MSDeployPublishMethod=RemoteAgent 
/p:CreatePackageOnPublish=True 
/p:DeployIISAppPath="test deploy" 
/p:MsDeployServiceUrl=http://deployserver/MsDeployAgentService 
/p:UserName=username
/p:Password=xxxxx 
/p:IncludeIisSettingsOnPublish=false

The clue is to set IncludeIisSettingsOnPublish=false

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜