1. <small id='fsxDE'></small><noframes id='fsxDE'>

      <tfoot id='fsxDE'></tfoot>
      <legend id='fsxDE'><style id='fsxDE'><dir id='fsxDE'><q id='fsxDE'></q></dir></style></legend>

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

        没有 .pdb 文件的 C# 分析失败

        时间:2023-10-24

          <bdo id='K0Sue'></bdo><ul id='K0Sue'></ul>

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

                • <tfoot id='K0Sue'></tfoot>
                  <legend id='K0Sue'><style id='K0Sue'><dir id='K0Sue'><q id='K0Sue'></q></dir></style></legend>

                    <tbody id='K0Sue'></tbody>
                  本文介绍了没有 .pdb 文件的 C# 分析失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在使用 SonarQube 4.2 试用新的 C# 插件 v3.0.根据插件文档,我需要 .pdb 文件来运行包含 FxCop 规则的分析,如果输出文件夹中不存在所述 .pdb 文件,则在执行 sonar-runner 时确实会收到一条失败消息;FxCop 以代码 1536 退出.

                  I'm trying out the new C# plugin v3.0 with SonarQube 4.2. According to plugin documentation, I need .pdb files to run analysis which includes FxCop rules, and indeed I get a failure message when executing sonar-runner if said .pdb files are not present in the output folder; FxCop exits with code 1536.

                  问题是,分析似乎需要所有二进制文件的 .pdb 文件,并且输出文件夹除了我自己编译的代码之外还包含几个依赖项.这些是 NuGet 包,我找不到所有这些包的符号文件.

                  The thing is, the analysis seems to require .pdb files for ALL the binnaries, and the output folder contains several dependencies in addition to my own compiled code. These are NuGet packages and I cannot find symbol files for all of them.

                  那么,有什么方法可以让我在不调试符号的情况下跳过文件进行分析?常规 SonarQube 文件排除列表似乎仅适用于源代码文件(例如 *.designer.cs),不适用于二进制文件.

                  So, is there any way I can have the analysis to skip the files without debugging symbols? The regular SonarQube file exclusion lists seem to apply to source code files only (e.g. *.designer.cs) and not for binnaries.

                  推荐答案

                  这是 SonarQube C# 插件端的一个错误.我创建了以下票证来修复它:https://jira.codehaus.org/browse/SONARFXCOP-29

                  This is a bug on the SonarQube C# plugin side. I have created the following ticket to fix it: https://jira.codehaus.org/browse/SONARFXCOP-29

                  请注意,这与 *.pdb 文件的存在无关,而仅与引用的程序集的存在有关.

                  Note that this is not related to the presence of *.pdb files, but only on the presence of the referenced assemblies.

                  这篇关于没有 .pdb 文件的 C# 分析失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:SonarQube Scanner 执行期间出错:java.lang.IllegalArgumentException: 下一篇:SonarQube - C# 代码未显示在仪表板上

                  相关文章

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

                  1. <legend id='zjFH3'><style id='zjFH3'><dir id='zjFH3'><q id='zjFH3'></q></dir></style></legend>

                        <bdo id='zjFH3'></bdo><ul id='zjFH3'></ul>
                    1. <tfoot id='zjFH3'></tfoot>

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