Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当 Visual Studio 2010 中的构建后事件失败时,您会看到整个构建后批处理文件显示在错误中。有没有办法隐藏它并显示更清晰的错误消息?
我发现这篇文章抑制了原始错误,但我仍然需要构建失败 - 只是有一条干净的消息。
只需使用@echo命令输出您需要的信息。
@echo