Hello sonar analysis is made on windows jenkins, sonarqube version is 7.0 and we use
“sonar-scanner-msbuild-220.127.116.112-net46” and “msbuild 15.0” for c# projects.
Although I set sonar.sourceEncoding=windows-1252 in the directory
"sonar-scanner-msbuild-18.104.22.1682-net46\sonar-scanner-22.214.171.1247\conf " and in the named file sonar-scanner.properties; the error does not change.
When I build the c# project with msbuild 14.0 , I do not encounter this problem.
Your help is appreciated.
WARNING: WARN: Encoding detected by Roslyn and encoding used by SonarQube do not match for file C:\HudSlvNEW\workspace\BFA_4_NET_WINDOWS_MSBUILD15\ORT_MUHASEBESLN_FINORT\MuhasebeBL\General.cs. SonarQube encoding is 'windows-1252', Roslyn encoding is 'windows-1254'. File will be skipped. WARNING: WARN: Encoding detected by Roslyn and encoding used by SonarQube do not match for file