MSBuild.exe output encoding

I use MSBuild.exe to create a solution on a machine with Russian. But TeamCity records all Russian characters in the wrong encoding. How to configure MSBuild.exe for correct output (for example, UTF-8)?

+6
source share
1 answer

The command line parameter check / fileloggerparameters is here . It should be the same for the console registrar.

eg. MyLog.log file with diagnostic drilldown using UTF-8 encoding:

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

Source: https://habr.com/ru/post/908122/


All Articles