- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我正在尝试使用 sonarqube 分析一个 c# 项目,但我一直收到错误消息,指出 sonarlint 不是有效的 win32 应用程序,这是什么原因?
[15:51:01]: [Step 1/3] 15:51:01.807 INFO - Sensor FileHashSensor...
[15:51:01]: [Step 1/3] 15:51:01.838 INFO - Sensor FileHashSensor done: 31 ms
[15:51:01]: [Step 1/3] 15:51:01.838 INFO - Sensor org.sonar.plugins.csharp.CSharpSensor@375465a1...
[15:51:02]: [Step 1/3] INFO: ------------------------------------------------------------------------
[15:51:02]: [Step 1/3] INFO: EXECUTION FAILURE
[15:51:02]: [Step 1/3] INFO: ------------------------------------------------------------------------
[15:51:02]: [Step 1/3] Total time: 26.359s
[15:51:02]: [Step 1/3] Final Memory: 53M/1397M
[15:51:02]: [Step 1/3] ERROR: Error during Sonar runner execution
[15:51:02]: [Step 1/3] INFO: ------------------------------------------------------------------------
[15:51:02]: [Step 1/3] ERROR: Unable to execute Sonar
[15:51:02]: [Step 1/3] ERROR: Caused by: java.io.IOException: Cannot run program "X:\xxxx\xxxx\xxxx\xxxxxx\.\.sonar\SonarLint.Runner\SonarLint.Runner.exe": CreateProcess error=193, %1 is not a valid Win32 application
[15:51:02]: [Step 1/3] ERROR: Caused by: Cannot run program "X:\xxxx\xxxx\xxxxx\xxxxx\.\.sonar\SonarLint.Runner\SonarLint.Runner.exe": CreateProcess error=193, %1 is not a valid Win32 application
[15:51:02]: [Step 1/3] ERROR: Caused by: CreateProcess error=193, %1 is not a valid Win32 application
最佳答案
使用不依赖/使用 sonarlint 的 c# 插件版本,我使用 3.3,问题是它是旧版本,因此未与最新规则保持同步。
关于c# - sonarlint.exe 不是有效的 win32 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35558150/
SonarLint 分析代码并在其 SonarLint 报告窗口中生成报告。但是,我找不到任何选项来提取/导出此报告。 我也尝试在首选项中寻找任何设置,但找不到。 最佳答案 我在 SonarLint
我可以禁用/启用SonarLint for VS显示的一组规则吗?如何? 在Is there some graphical way to create my own configuration fil
Sonarsource 似乎已经停止了对 sonarlint 工具的命令行实例的开发。指向 sonarlint 网站页面的链接现在返回 404,并且在 sonarlint 网站上没有提及该产品。 这是
将 SonarLint 2.0.0 与 Eclipse Mars.2 和 SonarQube Server 5.3 结合使用,我有一个 Maven 多模块项目,每个模块都连接到 SonarQube S
我正在寻找一个将 VS 与 Sonar 集成的扩展,以避免等待 Sonar 运行以获得对我的代码的反馈。除了通过 Sonar UI 共享反馈(提供共享规则集、历史记录、趋势、分析...)之外,实时反馈
我在 intellij 中使用 Sonar-Lint 作为我的静态代码分析插件。当我在设置配置后运行它时,它可以从服务器获取规则并显示问题。 但它仍然不能清楚地表明代码重复和覆盖率。任何人都可以告诉我
我在 VS 2015 中安装了 SonarLint,它看起来是一个很有潜力的扩展。 目前,该扩展还在分析我的测试项目并就此发出警告。如何禁用对特定(测试)项目的检查? 更新它不是关于在 SonarQu
所以,该公司为每个单独的项目提供一个 SonarQube key 。因此,我们得到了一个 Common.dll 项目、一个 Network.dll 项目和一个 MyProject.exe 项目,它们都
我已将 SonarLint C# Roslyn 分析器添加到 Visual Studio 中的项目(通过 SonarAnalyzer for C# NuGet 包)。是否可以配置分析器规则的运行方式?
当我尝试连接到 SonarQube 服务器时,出现错误提示: The following plugins do not meet the required minimum versions, plea
sonarQube 与 SonarLint 到底有何不同? SonarQube 有一个与之关联的服务器,Sonar lint 的工作方式更像是一个插件。但它们的具体区别是什么? 最佳答案 SonarL
我正在对返回对象列表的方法进行 ajax 调用,如果在 try-catch block 中获取数据时发生某些情况,我有一个 response.setStatus(400) 来然后在前端显示错误,在那里
下面的代码有来自 SonarLint 的通知: handler.setFileNameGenerator((new FileNameGenerator() { @Override pu
我有一个带有私有(private)构造函数的最终类: public final class Constants { public static final Date DEFAULT_DATE;
我已经定义了输出流,如下所示OutputStream os=new FileOutputStream(文件); 尝试关闭如下资源 if(os != null) { try { o
尝试在 SonarLint 中处理文件时出现以下错误 "File won't be refreshed because there were errors during analysis:" Unfo
我有一个包含错误列表的集合。我想通过键(UUID UserId)对它们进行分组。为此,我复制了这个答案中的代码: https://stackoverflow.com/a/30202075/404536
我在 Github 上下载了 SonarLint 代码,想通过分析现有代码在我工作的公司项目中尝试。我想知道如何创建一个标准配置文件,其中包含我想要评估解决方案以分析项目的规则。有实际例子吗? 最佳答
有没有一种方法可以分析特定 Java 类的最后修改,而无需在 SonarLint 中分析整个类 目前,当打开文件或保存我的修改时,整个类(class)都会被分析,这对于大类(class)来说并不有趣。
关闭。此题需要details or clarity 。目前不接受答案。 想要改进这个问题吗?通过 editing this post 添加详细信息并澄清问题. 已关闭 5 年前。 Improve th
我是一名优秀的程序员,十分优秀!