MSBuild.exe 输出编码
我使用 MSBuild.exe 在俄语机器上构建解决方案。但在 TeamCity 构建中,所有俄语字符都以错误的编码记录。如何设置 MSBuild.exe 以正确输出(例如 UTF-8)?
I use MSBuild.exe for building solution on machine with russian language. But in TeamCity build log all russian chars in wrong encoding. How to setup MSBuild.exe for properly output (UTF-8 for example)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
此处检查 /fileloggerparameters 命令行参数。控制台记录器应该是相同的。
例如,使用 UTF-8 编码具有诊断详细信息的 MyLog.log 文件:
Check /fileloggerparameters command line parameter here. It should be the same for console logger.
e.g. MyLog.log file with diagnostic verbosity using UTF-8 encoding: