sonarlint-vs

SonarQube/SonarLint/Visual Studio: Use one ruleset fo all projects in solution

不羁岁月 提交于 2019-12-23 19:49:18
问题 We are currently in the process of evaluating the use of SonarQube/SonarLint for our .NET applications. We are pretty happy with what we've seen so far (and, btw, kudos for bringing SonarQube this far - I've used it a couple of years ago for my PhD project, and it has improved greatly since then!). However, one thing was a bit surprising: When I connected my SonarLint instance to our SonarQube server (which worked just fine) and started syncing the bound project, SonarLint started to download

SonarLint KeyNotFoundException

怎甘沉沦 提交于 2019-12-12 03:34:54
问题 I'm seeing a strange error when using Sonar to analyse a C-sharp code base. 14:59:19.350 INFO - SonarLint for Visual Studio version 1.3.0.0 14:59:20.154 ERROR - 14:59:20.337 ERROR - Unhandled Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. 14:59:20.338 ERROR - at System.Collections.Immutable.ImmutableDictionary`2.get_Item(TKey key) 14:59:20.340 ERROR - at SonarLint.Runner.Configuration.AddAnalyzerCommentRegularExpression(Builder

SonarLint Binding Error since Version 2.8.0.214 - Project Count out of Range?

不羁岁月 提交于 2019-12-08 05:15:53
问题 I am facing an error while binding a Solution to my SonarQube Projects. I am using VS 2015 Update 3, SonarLint 2.8.0.214 and SonarQube 5.6. Also the Update on already bound Projects fails. I guess this has something to do with the new SonarLint Version that I have installed since Yesterday. Before the Update of the SonarLint Extension I have not had these kind of errors. It seems that the Project count is out of Range: Binding solution to SonarQube project: Started Binding solution to

Can I configure the used ruleset for SonarLint

牧云@^-^@ 提交于 2019-12-01 05:52:28
Can I disable / enable the set of rules that are shown by SonarLint for VS? How? A similar question was already asked in Is there some graphical way to create my own configuration file on SonarLint? but I wasn't able to follow the answer, i.e. did not find the Project/References/Analyzers node in the Solution Explorer, to be able to edit the active rule set file. Can you help me out on this one? Here is how to open the active rule set of a project: From there, you'll be able to enable and disable rules: The path to the rule set file to be used is saved within your .csproj file under the

Can I configure the used ruleset for SonarLint

雨燕双飞 提交于 2019-12-01 03:47:14
问题 Can I disable / enable the set of rules that are shown by SonarLint for VS? How? A similar question was already asked in Is there some graphical way to create my own configuration file on SonarLint? but I wasn't able to follow the answer, i.e. did not find the Project/References/Analyzers node in the Solution Explorer, to be able to edit the active rule set file. Can you help me out on this one? 回答1: Here is how to open the active rule set of a project: From there, you'll be able to enable