Custom MSBuild Task: how to flush logging in VS2012 output window while task is still running?

后端 未结 2 387
鱼传尺愫
鱼传尺愫 2021-01-12 21:57

I have a custom MSBuild task that takes some time to complete. It outputs progress using either Log.LogMessage() or BuildEngine.LogMessageEvent() (

2条回答
  •  粉色の甜心
    2021-01-12 22:14

    It is a bug in VS 2012. In the comments in this bug report a user whose alias is Will, speaking on behalf of Microsoft, wrote on July the 2nd of 2013 that Though we will not have a chance to address this issue in Visual Studio 2012, we will consider this feedback when planning for future versions of Visual Studio.

提交回复
热议问题