Call process activity without logging errors in the log file

I am trying to use Invoke to call an executable from a Windows workflow in my TFS 2010 assembly. But when I look at the log file, it does not log any errors. I used WriteBuildMessage and WriteBuildwarning inside my invoke process activity. I also set the file name, working directory, etc. In action.

Can anyone point out why it is not registering?

+5
source share
2 answers

You can do something like this:
enter image description here

In this case, you must ensure that you are Messageinstalled as follows:
enter image description here
enter image description here

, , , .

, Properties InvokeProcess:
Result -, WriteBuildMessage Message. , .


, , , , - BuildMessageImportance: ​​ High, Logging Verbosity (= Normal). . .

+7

Invoke Process Result ( Int, ExitCode), Invoke Process ( Agent Scope) If, ExitCode <> 0 , , (, ).

, , WriteBuildMessage , Importance Microsoft.TeamFoundation.Build.Client.BuildMessageImportance.High, , .

+3

All Articles