小编use*_*052的帖子

VS2010 TFS构建失败 - 无法完成对远程代理的请求

尝试从VS2010内部运行构建时收到此错误.

C:\Program Files\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets (3588): Web deployment task failed.(Could not complete the request to remote agent URL 'https://http//[serverName]:8172/msdeploy.axd?site=Default Web Site'.) Could not complete the request to remote agent URL 'https://http//[serverName]:8172/msdeploy.axd?site=Default Web Site'. The remote name could not be resolved: 'http'

我不确定它为什么说"https:// http // ..."
代码签入远程TFS服务器.我在VS Team Explorer中创建了一个Build Definition,这是我在尝试构建/发布项目时遇到的错误.上面的[servername]是我的项目要发布的IIS服务器.

这些是MSBuild参数:

/p:DeployOnBuild=True 
/p:DeployTarget=MsDeployPublish 
/p:CreatePackageOnPublish=False 
/p:MSDeployPublishMethod=WMSVC 
/p:MSDeployServiceUrl=http://[serverName] 
/p:DeployIisAppPath="Default Web Site/[site/app Name]"
Run Code Online (Sandbox Code Playgroud)

有人遇到同样的错误吗?
顺便说一下,我能够在VS Publish中做一个成功的Web部署

iis tfs visual-studio-2010 iis-7.5 tfs2010

4
推荐指数
1
解决办法
5568
查看次数

标签 统计

iis ×1

iis-7.5 ×1

tfs ×1

tfs2010 ×1

visual-studio-2010 ×1