How can resolve Untrusted certificates Error ?( TFS2013 Build and deploy to IIS )

一个人想着一个人 提交于 2019-12-06 06:00:43

I add /p:AllowUntrustedCertificate=true to MsBuild arguments.and it's resolved

Zia Ul Murtaza

Thanks M.Azad, It resolved my problem. I was trying to set these configurations in .pubxml file True False but that was not resolving the issue, but adding /p:AllowUntrustedCertificate=true arugment in msbuild.bat file resolved.

Complete argument list to msbuild.exe

C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe %ProjectPath% /fl /flp:logfile=%LogPath% /T:Build /p:DeployOnBuild=true /p:DeployTarget=MSDeployPublish /p:PublishProfile=%ProfilePath% /p:PublishDir="C:\wwroot" /p:AllowUntrustedCertificate=true /p:VisualStudioVersion=12.0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!