问题
I want to use InvokeProcess to run a batch file.
Problem is that I can't find InvokeProcess in my ToolBox.
How can I add this to my ToolBox? I need to know what assembly it lives in.
回答1:
It seems you are missing all activities (not just InvokeProcess) from Microsoft.TeamFoundation.Build.Workflow.Activities.
Those are to be found in Microsoft.TeamFoundation.Build.Workflow.dll
Furthermore it seems that in tab "Team Foundation Build Activities" you 're including what per default is the content of tab "Team Foundation LabManagement Activities" (which are members of Microsoft.TeamFoundation.Lab.Workflow.Activities).
In order to add this, just right-click on the tab and click the checkbox in "System.Activities Components":
来源:https://stackoverflow.com/questions/7170075/invokeprocess-missing-from-the-toolbox