Sonar-scanner-msbuild “CreateProjectSpecificDirs” Failed to create properly

sonarqube

(Youcanyouupgithub) #1

Hello

The results of multiple scans of my project are inconsistent

Normal condition

    C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1879,5): warning : The referenced project '..\02 售楼系统\20 资源文件\Mysoft.Slxt.Resource\Mysoft.Slxt.Resource.csproj' does not exist. [F:\jenkins\workspace\rdc-Prod-Testing-12-36-CodeQuality\src\00_根目录\Web_Slxt.csproj]
    GenerateTargetFrameworkMonikerAttribute:
    正在跳过目标“GenerateTargetFrameworkMonikerAttribute”,因为所有输出文件相对于输入文件而言都是最新的。
    "CreateProjectSpecificDirs:
      正在创建目录“F:\jenkins\workspace\rdc-Prod-Testing-12-36-CodeQuality\.sonarqube\conf\30”。"
    SetRoslynCodeAnalysisProperties:
      External issues are not supported on this version of SonarQube. SQv7.4+ is required.
    CoreCompile:
      C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Roslyn\csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /doc:bin\Web_Slxt.XML /define:DEBUG;TRACE /highentropyva+ /reference:"F:\jenkins\workspace\rdc-Prod-Testing-12-36-CodeQuality\src\99 packages\00_平台接口\ClownFish.Web.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\Microsoft.CSharp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\mscorlib.dll" 

Error time

\Mysoft.Slxt.Resource\Mysoft.Slxt.Resource.csproj' does not exist. [F:\jenkins\workspace\rdc-Prod-Testing-12-36-CodeQuality\src\00_根目录\Web_Slxt.csproj]
GenerateTargetFrameworkMonikerAttribute:
正在跳过目标“GenerateTargetFrameworkMonikerAttribute”,因为所有输出文件相对于输入文件而言都是最新的。
"Not Exec CreateProjectSpecificDirs"
CoreCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Roslyn\csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /doc:bin\Web_Slxt.XML /define:DEBUG;TRACE /highentropyva+ /reference:"F:\jenkins\workspace\rdc-Prod-Testing-12-36-CodeQuality\src\99 packages\00_平台接口\ClownFish.Web.dll" /reference:"C:\Program Files (x86)\Reference

My runtime command is

SonarScanner.MSBuild.exe begin /k:"zyj-slxt:develop-test" /n:"zyj-售楼系统-develop-test" /v:"1.0" /d:sonar.cs.nunit.reportsPaths="NUnitResults.xml" /d:sonar.cs.dotcover.reportsPaths="dotCover.html" /d:sonar.verbose=true

msbuild src\售楼整体解决方案.sln /tv:15.0 /t:rebuild /p:VisualStudioVersion=15.0

SonarScanner.MSBuild.exe end

(Youcanyouupgithub) #2

Hope to give an answer


(Youcanyouupgithub) #3

Help me