This project is read-only.


CleanupPsExec fails on TFS Build 2010 with InvalidOperationException


I am getting the following error with CleanupPsExec on my build workflow.
System.InvalidOperationException: An Activity can only get the location of arguments which it owns. Activity 'CleanupPsExec' is trying to get the location of argument 'TargetMachine' which is owned by activity 'KillProcess'. at System.Activities.Statements.Throw.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
Any ideas?
Closed Jun 23, 2010 at 2:55 AM by mikedouglas
Fixed, thanks to the patch that was uploaded.


mikedouglas wrote Jun 15, 2010 at 2:39 AM

Thanks for posting this and bringing it to my attention. I was getting a similar error for a different property when I was trying to create a static logging object. I haven't seen this for TargetMachine. I will take a look at this right away.


wrote Jun 15, 2010 at 2:41 AM

mikedouglas wrote Jun 23, 2010 at 2:54 AM

Fixed, thanks to your patch.

wrote Jun 23, 2010 at 2:55 AM

wrote Feb 14, 2013 at 2:47 AM

wrote May 16, 2013 at 7:43 AM