missing from msbuild inline tasks

Hello,

I would like to use msbuild inline tasks with my build. Part of the code:

...
Console.WriteLine("Hello");
...

Hello text is displayed on the console when im calling the task from the command line, however it is missing in the teamcity log. Diagnostic verbosity did not help (/v:diag).
I am only able to see following statement:

Initializing task factory "CodeTaskFactory" from assembly "c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Build.Tasks.v4.0.dll".

Using "HelloWorld" task from the task factory "Code Task Factory".
1 comment
Comment actions Permalink

i should have used Log.LogMessage instead.

Regards!

0

Please sign in to leave a comment.