<legend id='F9nfu'><style id='F9nfu'><dir id='F9nfu'><q id='F9nfu'></q></dir></style></legend>

<i id='F9nfu'><tr id='F9nfu'><dt id='F9nfu'><q id='F9nfu'><span id='F9nfu'><b id='F9nfu'><form id='F9nfu'><ins id='F9nfu'></ins><ul id='F9nfu'></ul><sub id='F9nfu'></sub></form><legend id='F9nfu'></legend><bdo id='F9nfu'><pre id='F9nfu'><center id='F9nfu'></center></pre></bdo></b><th id='F9nfu'></th></span></q></dt></tr></i><div id='F9nfu'><tfoot id='F9nfu'></tfoot><dl id='F9nfu'><fieldset id='F9nfu'></fieldset></dl></div>
    • <bdo id='F9nfu'></bdo><ul id='F9nfu'></ul>
  • <tfoot id='F9nfu'></tfoot>

      <small id='F9nfu'></small><noframes id='F9nfu'>

        sonarqube 中的 C# 项目

        时间:2023-10-24
          <tbody id='5oTi4'></tbody>

        <small id='5oTi4'></small><noframes id='5oTi4'>

        • <legend id='5oTi4'><style id='5oTi4'><dir id='5oTi4'><q id='5oTi4'></q></dir></style></legend>
            <i id='5oTi4'><tr id='5oTi4'><dt id='5oTi4'><q id='5oTi4'><span id='5oTi4'><b id='5oTi4'><form id='5oTi4'><ins id='5oTi4'></ins><ul id='5oTi4'></ul><sub id='5oTi4'></sub></form><legend id='5oTi4'></legend><bdo id='5oTi4'><pre id='5oTi4'><center id='5oTi4'></center></pre></bdo></b><th id='5oTi4'></th></span></q></dt></tr></i><div id='5oTi4'><tfoot id='5oTi4'></tfoot><dl id='5oTi4'><fieldset id='5oTi4'></fieldset></dl></div>
            <tfoot id='5oTi4'></tfoot>

                <bdo id='5oTi4'></bdo><ul id='5oTi4'></ul>
                1. 本文介绍了sonarqube 中的 C# 项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  当我运行 sonar-runner 进行分析时,我的简单 C# 项目分析因 SonarLint.Runner.exe 权限被拒绝错误而终止:

                  When I run sonar-runner for an analysis my simple C# project the analysis terminate on error on SonarLint.Runner.exe of permission denied:

                  ERROR: Error during SonarQube Scanner execution
                  ERROR: java.io.IOException: Cannot run program "/opt/sonarqube-5.4/projects/ArturiCSharpSort/.sonar/SonarLint.Runner/SonarLint.Runner.exe": error=13, Permission denied
                  ERROR: Caused by: Cannot run program "/opt/sonarqube-5.4/projects/ArturiCSharpSort/.sonar/SonarLint.Runner/SonarLint.Runner.exe": error=13, Permission denied
                  ERROR: Caused by: error=13, Permission denied
                  

                  有效

                  -rw-r--r-- 1 root root 19456 Apr  5 11:14 .sonar/Lint.Runner/SonarLint.Runner.exe
                  

                  以下是我的 sonar-project.properties:

                  This following is my sonar-project.properties:

                  # Root project information
                  
                  sonar.projectKey=ArturiCSharpSort
                  
                  sonar.projectName=ArturiCSharpSort
                  
                  sonar.projectVersion=1.0
                  
                  # Some properties that will be inherited by the modules
                  
                  sonar.sources=.
                  
                  #List of the module identifiers
                  
                  #sonar.modules=
                  
                  # Properties can obviously be overriden for
                  
                  # each module - just prefix them with the module ID
                  
                  #module1.sonar.projectName=
                  
                  #module2.sonar.projectName=
                  

                  我尝试在 SonarLint.Runner.exe 上执行 chmod,但它在每次分析时都会重新构建.如何对 C# 项目进行分析?

                  I try to act a chmod on SonarLint.Runner.exe but it is rebuil at every analysis. How can I run analysis on C# project?

                  推荐答案

                  C#项目的分析必须在Windows环境下完成.这里失败了,因为项目是在 Linux 上分析的.

                  Analysis of C# projects must be done on a Windows environment. Here it's failing because the project is analysed on Linux.

                  问题是 SonarQube C# Plugin 确实是针对Windows .NET 生态系统,这是您无论如何构建/维护 .NET 项目的地方.它必须与 SonarQube Scanner for MSBuild,这需要 MSBuild 14.0.

                  The thing is that SonarQube C# Plugin really is targeted to the Windows .NET ecosystem, which is where you'd anyhow build/maintain .NET projects. It must be used with the SonarQube Scanner for MSBuild, which requires MSBuild 14.0.

                  这篇关于sonarqube 中的 C# 项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:带有 VSTS 的 SonarCloud 有错误 Duplicate ProjectGuid: &quot;00 下一篇:Sonarqube 表示违反 csharpsquid:S3649 - 用户提供的值应在用于 SQL 语句之前进行清理

                  相关文章

                    <small id='0ffIw'></small><noframes id='0ffIw'>

                  1. <legend id='0ffIw'><style id='0ffIw'><dir id='0ffIw'><q id='0ffIw'></q></dir></style></legend>
                  2. <i id='0ffIw'><tr id='0ffIw'><dt id='0ffIw'><q id='0ffIw'><span id='0ffIw'><b id='0ffIw'><form id='0ffIw'><ins id='0ffIw'></ins><ul id='0ffIw'></ul><sub id='0ffIw'></sub></form><legend id='0ffIw'></legend><bdo id='0ffIw'><pre id='0ffIw'><center id='0ffIw'></center></pre></bdo></b><th id='0ffIw'></th></span></q></dt></tr></i><div id='0ffIw'><tfoot id='0ffIw'></tfoot><dl id='0ffIw'><fieldset id='0ffIw'></fieldset></dl></div>

                    1. <tfoot id='0ffIw'></tfoot>
                        <bdo id='0ffIw'></bdo><ul id='0ffIw'></ul>