开发者

TFS deploy web site to IIS 6 on build

I'm new to TFS and I'm trying to set up my build server to automatically deploy a website to a local test server running IIS 6.

I've installed web deploy on the destination server (which is Win2k3 & IIS6) with the remote agent (which is started btw), and I've set my build definition's MSBuild Arguments to:

/p:DeployOnBuild=true

/p:DeployTarget=MSDeployPublish

/p:MSDeployPublishMethod=RemoteAgent

/p:DeployIisAppPath="Default Web Site"

/p:MsDeployServiceUrl="http://devserver/msdeployagentservice"

/p:username=DOMAIN\Admin.Username

/p:password=password

/p:IncludeIisSettingsO开发者_Python百科nPublish=false

When I queue a build, it says it's built fine, but it hasn't published anything to the server. Looking at the build log, I can't see any evidence of it even attempting to do the publish?

Any suggestions appreciated! Documentation for this stuff seems scarce, particularly for deploying to IIS 6..

UPDATE

As comments below suggested it won't work with a web site project, I've now tried it with an MVC 3 app, and it still doesn't seem to even attempt to publish it.


As per TFS 2010 Build Definition: MSBuild Arguments seems to be ignored I've reluctantly installed VS2010 on the build server and now I'm getting meaningful error messages.

It really is annoying that you need to do this to get it to work, and even more annoying that without doing so means you don't even get any sort of error and it behaves like everything has worked!

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜