本博客(http://blog.csdn.net/livelylittlefish)贴出作者(三二一、小鱼)相关研究、学习内容所做的笔记,欢迎广大朋友指正!
MSBuild使用1——Message(输出消息)
1. Message元素:输出提示信息
属性:Text:输出消息内容
Importance:消息重要程度,可取high、normal、low,默认值为Normal
Condition:条件
2. 例,文件名:TestMessage.csproj
- <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <Target Name="TestMessageOutput">
- <Message Text="execution success"/>
- </Target>
- </Project>
3. 运行:msbuild TestMessage.csproj