TFS 2010将网站发布到IIS7 [英] TFS 2010 Publish website to IIS7

查看:103
本文介绍了TFS 2010将网站发布到IIS7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在尝试使用TFS 2010自动化-建立网站(CMS)并将其发布到远程服务器,并将其部署到IIS.目前,这是手动完成的.

我首先在本地服务器上对此进行测试.我能够创建一个没有问题的构建.问题在于它不会将内部版本部署到IIS.我在MSBuild Arguments下的构建定义中定义了以下参数.

/p:DeployOnBuild = True/p:DeployTarget = MsDeployPublish
/p:MSDeployPublishMethod = InProc/p:CreatePackageOnPublish = True
/p:DeployIisAppPath =默认网站/网站1"
/p:MsDeployServiceUrl = http://localhost/Website1
/p:UserName = Australasia \ admin/p:Password = pwd


当我使用上述设置对新的TFS构建进行排队时,我希望TFS在IIS7中创建一个网站文件夹(website1),然后将构建部署到该文件夹​​.这不会发生.

有什么想法吗?非常感谢.

Hi,

I am attempting to use TFS 2010 to automate - build and publish a website (CMS) to remote server and also deploy this to IIS. Currently this is being done manually.

I am testing this on local server first. I am able to create a build without problems. The problem is that it does not deploy the build to IIS. i have defined below parameters in the build definition under MSBuild Arguments.

/p:DeployOnBuild=True /p:DeployTarget=MsDeployPublish
/p:MSDeployPublishMethod=InProc /p:CreatePackageOnPublish=True
/p:DeployIisAppPath="Default Web Site/Website1"
/p:MsDeployServiceUrl=http://localhost/Website1
/p:UserName=Australasia\admin /p:Password=pwd


When I queue a new TFS build with above settings, I expect TFS to create a website folder (website1) in IIS7 and then deploy build to that folder. This does not happen.

Any thoughts? many thanks.

推荐答案

任何人...任何线索...?

我在这里想念什么吗?

谢谢
Hi, anyone ... any clues...?

Am I missing something here?

thanks


这篇关于TFS 2010将网站发布到IIS7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆