Skip to content

Commit 6efd3eb

Browse files
committed
Log protogen command line using MSBuild Log facility
1 parent b6e4201 commit 6efd3eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ProtoBuf.MSBuildTask/ProtoGen.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public override bool Execute()
4242
sb.Append(@""" ");
4343
}
4444

45-
Console.Error.WriteLine(ProtoGenExecutable + " " + sb.ToString());
45+
Log.LogCommandLine(ProtoGenExecutable + " " + sb.ToString());
4646
var process = Process.Start(new ProcessStartInfo(ProtoGenExecutable, sb.ToString()) { CreateNoWindow = true, UseShellExecute = false });
4747
process.WaitForExit();
4848
list.Add(new TaskItem(output));

0 commit comments

Comments
 (0)