I have a custom MSBuild task that takes some time to complete. It outputs progress using either Log.LogMessage() or BuildEngine.LogMessageEvent() (
Log.LogMessage()
BuildEngine.LogMessageEvent()
Known bug in VS2012.
We ended up making a VSPackage extension for VS2012/2013 (to directly output in pane log).
It is fixed in VS2015.