msbuild artifactory plugin issue.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

msbuild artifactory plugin issue.

bvajjala
This post was updated on .
Hi,

I am trying to use the artifactory msbuild plugin. I cloned the Git hub repo https://github.com/JFrogDev/project-examples. Try building the solution using Visual Studio 2015 and running the build on VSTS and TFS 2015. I have followed instructions from the User Guide regarding configuring this plugin Artifactory.build.

The build keeps failing


C:\a\src\msbuild-example\.artifactory\Deploy.targets (26, 0)
[Artifactory] Exception from Artifactory Task: Could not extract targetBuilderCallback from Microsoft.Build.BackEnd.TaskHost
C:\a\src\msbuild-example\.artifactory\Deploy.targets (26, 0)
Could not extract targetBuilderCallback from Microsoft.Build.BackEnd.TaskHost
at JFrog.Artifactory.BuildEngineExtensions.GetProjectInstance(IBuildEngine buildEngine)
at JFrog.Artifactory.BuildEngineExtensions.GetEnvironmentVariable(IBuildEngine buildEngine, String key, Boolean throwIfNotFound)
at JFrog.Artifactory.Utils.SolutionHandler.MsbuildInterpreter(FileInfo artifactoryConfigurationFile, ArtifactoryBuild task)
at JFrog.Artifactory.Utils.SolutionHandler.GetMainConfiguration()
at JFrog.Artifactory.Utils.SolutionHandler..ctor(ArtifactoryBuild task, BuildInfoLog log)
at JFrog.Artifactory.ArtifactoryBuild.Execute()
C:\a\src\msbuild-example\.artifactory\Deploy.targets (26, 0)
The "ArtifactoryBuild" task failed unexpectedly.
System.Exception: Exception from Artifactory Task: Could not extract targetBuilderCallback from Microsoft.Build.BackEnd.TaskHost
at JFrog.Artifactory.ArtifactoryBuild.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()

Could someone help me ?

Thanks in advance