TrimbleSolutionsCorporation / VSSonarQubeExtension

This is a SonarQube Extension for Visual Studio
http://visualstudiogallery.msdn.microsoft.com/7fc312c3-f1ab-49f8-b286-dbf7fff37305
GNU Lesser General Public License v3.0
23 stars 15 forks source link

Blank spaces log route #275

Closed TecnicoOMC closed 6 years ago

TecnicoOMC commented 6 years ago

We have problems when the routes contain blank spaces. The first parameters it takes well but the one of the logs as it does not have quotes gives error. /l:FileLogger,Microsoft.Build.Engine;logfile=C:\File 1\BuildLog.txt;Encoding=UTF-8 The complete sentence is: "C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe" "C:\File 1\Pro.sln" /v:Detailed /p:SonarQubeTempPath="C:\File 1.sonarqube" /p:Configuration=Debug /p:Platform="Any CPU" /t:Clean;Build /p:VeraTaskEnabled=true /p:RatsTaskEnabled=true /p:CppLintTaskEnabled=true /p:CppCheckTaskEnabled=true /l:FileLogger,Microsoft.Build.Engine;logfile=C:\File 1.cxxresults\BuildLog.txt;Encoding=UTF-8 /noconsolelogger /m:1 Is it possible to change it?

jmecosta commented 6 years ago

Well yeah, but on the wrapper side

On Wed, 22 Nov 2017, 14:24 TecnicoOMC, notifications@github.com wrote:

We have problems when the routes contain blank spaces. The first parameters it takes well but the one of the logs as it does not have quotes gives error. /l:FileLogger,Microsoft.Build.Engine;logfile=C:\File 1\BuildLog.txt;Encoding=UTF-8 The complete sentence is: "C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe" "C:\File 1\Pro.sln" /v:Detailed /p:SonarQubeTempPath="C:\File 1.sonarqube" /p:Configuration=Debug /p:Platform="Any CPU" /t:Clean;Build /p:VeraTaskEnabled=true /p:RatsTaskEnabled=true /p:CppLintTaskEnabled=true /p:CppCheckTaskEnabled=true /l:FileLogger,Microsoft.Build.Engine;logfile=C:\File 1.cxxresults\BuildLog.txt;Encoding=UTF-8 /noconsolelogger /m:1 Is it possible to change it?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TrimbleSolutionsCorporation/VSSonarQubeExtension/issues/275, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_jyJ4Ntze1hCqdLQA0qatXUB5MLGktks5s5BKZgaJpZM4QnUas .

jmecosta commented 6 years ago

moving ticket to wrapper

jmecosta commented 6 years ago

@TecnicoOMC you can use 1.9.17 https://github.com/jmecsoftware/sonar-cxx-msbuild-tasks/releases/tag/1.9.17