SonarQube版本6.1
我们的MSBuild声纳分析之一是出现以下错误,请您检查一下。
20-Dec-2016 07:20:41 ERROR: Error during SonarQube Scanner execution
20-Dec-2016 07:20:41 ERROR: No FxCop analysis has been performed on this project, whereas it contains cs files: Verify that you are using the latest version of the SonarQube Scanner for MSBuild, and if you do, please report a bug. In the short term, you can disable all FxCop rules from your quality profile to get rid of this error.
20-Dec-2016 07:20:41 ERROR:
20-Dec-2016 07:20:41 ERROR: To see the full stack trace of the errors, re-run SonarQube Scanner with the -e switch.
20-Dec-2016 07:20:41 ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.
更新:
我最近安装了最新的C#插件,我现在正在获取访问被拒绝的错误,
06-Jan-2017 06:30:59错误:无法分析文件:D:\ bamboo-agent-home \ xml-data \ build-dir \ EP-AR-JOB1 \ Quintiles.Sitecore.ePatient。 Arcalyst \ App_Start \ BundleConfig.cs
06-Jan-2017 06:30:59错误:System.UnauthorizedAccessException:访问路径'D:\ bamboo-agent-home \ xml-data \ build-dir \ EP-AR-JOB1 \ Quintiles.Sitecore .ePatient.Arcalyst \ App_Start \ BundleConfig.cs'被拒绝。
06-Jan-2017 06:30:59错误:在System.IO .__ Error.WinIOError(Int32 errorCode,String maybeFullPath)
06-Jan-2017 06:30:59错误:at System.IO.FileStream.Init(String path,FileMode mode,FileAccess access,Int32 rights,Boolean useRights,FileShare share,Int32 bufferSize,FileOptions options,SECURITY_ATTRIBUTES secAttrs ,String msgPath,Boolean bFromProxy,Boolean useLongPath,Boolean checkHost)
06-Jan-2017 06:30:59错误:在System.IO.FileStream..ctor(字符串路径,FileMode模式,FileAccess访问,FileShare共享)
06-Jan-2017 06:30:59错误:at SonarAnalyzer.Runner.CompilationHelper.GetSolutionFromFiles(String filePath,Encoding encoding,AnalyzerLanguage language)
06-Jan-2017 06:30:59错误:在SonarAnalyzer.Runner.Program.RunAnalysis(ScannerAnalyzerConfiguration conf)