c# - Diagnosing Sonarqube with Roslyn analyzers -


i setting sonarqube team , have run issues working the sonarqube roslyn sdk found on github.

following instructions on github page, have compiled solution. however, when running generator tool @ [directory]/sonarqube.plugins.roslyn.plugingenerator.exe, getting following error when attempting create plugin per instructions microsoft.codeanalysis.analyzers:

c:\users\[homedirectory]\src\github\sonarqube-roslyn-sdk\roslynplugingenerator\bin\debug\sonarqube.plugins.roslyn.plugingenerator.exe /a:c:\users\[homedirectory]\src\github\sonarqube-roslyn-sdk\roslynplugingenerator\bin\debug\microsoft.codeanalysis.analyzers:1.0.0 roslyn analyzer plugin generator sonarqube 0.1.0.0     [debug] parsed nuget reference. id: c:\users\[homedirectory]\src\github\sonarqube-roslyn-sdk\roslynplugingenerator\bin\debug\microsoft.codeanalysis.analyzers, version: 1.0.0     [debug] fetching nuget config files...     [debug] enabled package sources:     [warning] no enabled package sources. please update nuget config specify @ least 1 valid package source.     attempting locate package id 'c:\users\[homedirectory]\src\github\sonarqube-roslyn-sdk\roslynplugingenerator\bin\debug\microsoft.codeanalysis.analyzers'     [debug] number of packages located: 0     no packages specified id found:     c:\users\[homedirectory]\src\github\sonarqube-roslyn-sdk\roslynplugingenerator\bin\debug\microsoft.codeanalysis.analyzers 

i haven't had other issues nuget within visual studio proper (v3) package source enabled on machine. understand sonarqube roslyn sdk beta @ point, wondering if out there successful creating plug-in off referenced nuget library.

as side note, sonarqube working great except haven't been able analyzer based static analysis issues sonarqube. issue specific sdk. insights appreciated.

this issue fixed roslyn sdk after posting of original question. follow instructions provided on sdk's github page.


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -