Quantcast
Channel: Team Foundation Server - General forum
Viewing all articles
Browse latest Browse all 6687

Getting error through build agent TFS 2010.

$
0
0

Hi,

I've created a build definition to build a WPF project that includes many layers. It also has a VSTO project that is successfully built through msbuild argument /p:VisualStudioVersion=10.0

I've setup the build agent on a VM that has windows 7 and also has VS 2010 installed. It is a 32-bit machine. I'm using TFS 2010 build service to run this build definition. I get the below error, when I use the build agent on this VM:

Attempt by method 'Microsoft.TeamFoundation.Build.Workflow.Activities.TfUndo+TfUndoCore.RunCommand(Microsoft.TeamFoundation.Build.Workflow.Activities.VersionControlScope, Microsoft.TeamFoundation.VersionControl.Client.Workspace, System.String, System.String)' to access method 'Microsoft.TeamFoundation.VersionControl.Client.Workspace.Undo(Microsoft.TeamFoundation.VersionControl.Client.ItemSpec[], Boolean, Boolean, System.String[])' failed.

Any leads on this?

Please note that when I run the build through the build agent on my laptop which is windows 7, 64-bit machine with VS 2013, it works fine. The build controller is hosted both on my laptop and the TFS server.

Thanks in advance,

Pulkit


Viewing all articles
Browse latest Browse all 6687


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>