问题描述
我在tfs2013上创建了一个构建定义.当我将我的构建定义排队时,我收到有关不受信任证书的错误.
I crate a build definition on tfs2013.when I queue my builddefinition I get an error about Untrusted certificates.
我检查了帮助链接,它有3种解决方法
I check help link and it has 3 way to resolve it
- 在msdeploy.exe命令行中,您可以通过传递-allowUntrusted标志来实现此目的.
-
在Visual Studio 2010发布UI中,可以选中允许不受信任"
- From the msdeploy.exe command line, you can do this by passing the -allowUntrusted flag.
From the Visual Studio 2010 publish UI, you can check "Allow untrusted"
从Visual Studio 2010部署包(例如MyApp.deploy.cmd)中,您可以传递-allowUntrusted标志
From a Visual Studio 2010 deployment package (e.g. MyApp.deploy.cmd), you can pass the -allowUntrusted flag
对于第一种和第三种方式,我不知道该怎么做在第二种方法中,我无法在vs2013的发布"对话框中找到允许不受信任"
For first and third way I dont know how do itIn second way I cant find Allow untrusted in vs2013 publish dialog
推荐答案
我将/p:AllowUntrustedCertificate = true添加到MsBuild参数中.此问题已解决
I add /p:AllowUntrustedCertificate=true to MsBuild arguments.and it's resolved
这篇关于如何解决不受信任的证书错误?(TFS2013构建并部署到IIS)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!