I have a custom MSBuild task that takes some time to complete. It outputs progress using either Log.LogMessage() or BuildEngine.LogMessageEvent() (both of them both).
My problem is that all output is not displayed in the VS2012 output window until the task is completed, making changes in the course of execution useless. I want the output to appear while the task is running.
I found several threads explaining the frequent use of Application.DoEvents() , but this does not seem to solve the problem (maybe it only applies to VS2010 and earlier?).
source share