我正在尝试使用MSBuild Artifactory插件。我按照此视频中的步骤操作:https://www.youtube.com/watch?v=qV0VqsAOcoU。我尝试使用VS 2015和TFS构建解决方案,但构建给出了以下错误: -
.artifactory \ Deploy.targets(26,5):错误:[Artifactory] Artifactory任务异常:无法从Microsoft.Build.BackEnd.TaskHost中提取targetBuilderCallback C:\ TfsBuildAgents \ Agent-test-TEST_work \ 4 \ s.artifactory \ Deploy.targets(26,5):错误:[Artifactory] Artifactory任务异常:无法从Microsoft.Build.BackEnd.TaskHost [C]中提取targetBuilderCallback :\ TfsBuildAgents \代理 - 测试 - TEST_work \ 4 \ S \ Artifactory1 \ Artifactory1.csproj] .artifactory \ Deploy.targets(26,5):错误:无法从Microsoft.Build.BackEnd.TaskHost中提取targetBuilderCallback 在JFrog.Artifactory.BuildEngineExtensions.GetProjectInstance(IBuildEngine buildEngine) 在JFrog.Artifactory.BuildEngineExtensions.GetEnvironmentVariable(IBuildEngine buildEngine,String key,Boolean throwIfNotFound) 在JFrog.Artifactory.Utils.SolutionHandler.MsbuildInterpreter(FileInfo artifactoryConfigurationFile,ArtifactoryBuild任务) 在JFrog.Artifactory.Utils.SolutionHandler.GetMainConfiguration() 在JFrog.Artifactory.Utils.SolutionHandler..ctor(ArtifactoryBuild任务,BuildInfoLog日志) 在JFrog.Artifactory.ArtifactoryBuild.Execute()
我错过了什么?
答案 0 :(得分:0)
您是否安装了此插件的最新版本(2.1可在此处获取:https://visualstudiogallery.msdn.microsoft.com/8cd54930-fcb1-49a1-9c23-c35d50587a0c)?
此处还提供了新版本的截屏视频(适用于新插件和Artifactory 4):https://www.youtube.com/watch?v=lUcFFo6a9k4&index=14&list=PLY0Zjn5rFo4PR0MqN1MsqXG-t4izCcuUx
此插件的官方文档可在此处获取:https://www.jfrog.com/confluence/display/RTF/MSBuild+Artifactory+Plugin