MSBuild.exe output encoding

和自甴很熟 提交于 2019-12-09 17:56:39

问题


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)?


回答1:


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:

/fileLoggerParameters:LogFile=MyLog.log;Encoding=UTF-8;Verbosity=diagnostic


来源:https://stackoverflow.com/questions/9223691/msbuild-exe-output-encoding

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!