如何从MSBuild将消息输出到Visual Studio输出窗口? [英] How do I output messages to the Visual Studio output window, from MSBuild?
本文介绍了如何从MSBuild将消息输出到Visual Studio输出窗口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试将<Message>
元素添加到Visual Studio项目文件中的任务中,以便调试生成过程.但是,元素对写入Visual Studio输出窗口的文本没有影响.
I have tried adding <Message>
elements to tasks in a Visual Studio project file, in order to debug the build process. However, the elements have no effect on the text that is written to the Visual Studio output window.
是否可以通过向正在构建的项目中添加标记来将消息写入Visual Studio输出窗口?
Is there a way to write messages to the Visual Studio output window, by adding markup to the project being built?
推荐答案
查看全文