How to set environment variables in invokeprocess in TFS 2010

I am trying to set new environment variables in InvokeProcess in tfs2010, I tried to create an ENV_VAR variable of type IDictionary () and then in InvokeProcess, then I tried to add a new variable as ENV_VAR.Add ("New", "Variable") but it shows me an error ... thanks to / G


source to share

1 answer

For someone with a similar problem, I managed to solve it, way of defining EnvironmentVariable in activity InvokeProcess
New dictionary (from string, string) From {{"Key1", "Value1"}, {"key2", "value2"}}



All Articles