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