I have a custom MSBuild task that takes some time to complete. It outputs progress using either Log.LogMessage() or BuildEngine.LogMessageEvent() (tried both).
My problem is that all output doesn't appear in VS2012 Output window until the task is completed, making progress updates useless. I would like to have output appearing while the task is running, right away.
I found various threads explaining to call frequently Application.DoEvents(), but that doesn't seem to solve the problem (maybe it only applied for VS2010 and before?).