我已按照以下链接中描述的步骤创建从tfs构建到Windows azure的持续交付: https://www.windowsazure.com/en-us/develop/net/common-tasks/publishing-with-tfs/
tfs无法部署到azure云服务的问题,并给出了以下错误:
An attempted http request against URI https ://management.core.windows.net/...-1b8d-49ae-9d78-.../services/hostedservices/myhostedservicename/deploymentslots/Staging returned an error: (400) Bad Request.
Additional Exception Information:
Error Code: BadRequest
Message: The certificate with thumbprint 96a.... was not found.
The Create Deployment operation threw an unexpected exception.
The deployment failed. Check the logs for exceptions that may have caused this failure.
Exception Message: An attempted http request against URI https: //management.core.windows.net/474...f4/services/hostedservices/myhostedservice/deploymentslots/Staging returned an error: (400) Bad Request.
Additional Exception Information:
Error Code: BadRequest
Message: The certificate with thumbprint 6789... was not found. (type AzureHttpRequestException)
Exception Stack Trace: at System.Activities.Statements.Throw.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
答案 0 :(得分:3)
我可以想到两件事可能是我的头脑:
我希望这会有所帮助。
答案 1 :(得分:1)
我遵循了这个建议 http://teelahti.fi/howto-deploy-to-azure-websites-deployment-slot-from-tfs/ 使用这种模式 mywebsite(广告位名称)
因此,如果您的网站是MySite,并且您创建了一个插槽" Staging" 在"网站名称中使用MySite(登台):" " Windows Azure部署设置"在"流程"构建定义的选项卡。
答案 2 :(得分:0)
我遇到了同样的问题,这是因为我的云项目启用了远程桌面配置。您有两个选择:
希望这有帮助