SonarQube plugin development-c# - c#

I want to develop sonarqube plugin for c#. I developed some source code analysis tool in c# and I want to integrate into sonarqube. I just want to know which IDE I must use for this work and how to setup project in that IDE . can I code this plugin in visual studio?
ThankYou

All plugins must be written in Java. You can execute your tool by Java code.
You should read Developing Plugins guide on the SonarQube Wiki.

Since the plugin must be written in Java you can't use Visual Studio. I would recommend IntelliJ and the plugin-project that I'm working on right now is Maven-type.
This is also a good guide on how to develop the plugin https://deors.wordpress.com/2014/03/20/sonarqube-plugins-1/

Related

Integrate StyleCops with SonarQube and display the results in SonarQube dashboard

i want to integrate StyleCops with SonarQube and display the results in SonarQube dashboard. Started working on a POC. Now im stuck due to lack resources and domain experts.
I have some doubts.
1)Is it possible to achieve this with Community EDITION or do i need to request for a Developer or Enterprise edition.
2)Can we integrate gitlab .net project to SonarQube and analyze using StyleCop rules (C#)
Can someone guide me to achieve this. Thank you in Advance.
I am not sure if community edition allows but it works on enterprise edition. You just need to reference Stylecops in your project and when SonarQube scans the project it will import

VST plugin and installing old VS extensions

I want to develop an VST plugin in C#. Looking around the internet there are not that many libraries in .NET that deal with VST plugins. The only thing I found is the VST.net library (https://vstnet.codeplex.com/). This thing hasn't been updated in a while.
The problem: I am having trouble setting it up the basic project. There are project templates for that project which are done for VS 2008/2010 which is .vsi file. I tried looking around for ways to open it in the latest VS (2017) but I was not successful.
Is there a way to open these in Visual Studio 2017 or should I have to install the older version of Visual Studio to make this work? Or if you have a suggestion for another library/extension that will help me with the development I would appreciate it.
Comments: I am aware that there is better support in C++ for this type of thing but my additional problem is that I have a project in C# that I would like to use and not be forced to rewrite the entire code base.
Thank you in advance for looking into this issue.

Generate HTML issues reports from Sonarlint commandline for C# projects

I'm trying to generate HTML issues report for my C# projects using Sonarlint for the command line. After downloading and following instruction from Sonarlint command line page, I still can't generate c# reports (even when I copied c# plugin to plugins folder) but it works fine with Java projects.
My question is: can Sonarlint create C# html issue report? If it can't, is there any alternative way to achieve this? Thanks in advance
SonarLint for Command Line can't be used on Java, C#, VB/Net, C/C++ projects because the analysis of those projects requires to be fully integrated into the build systems. So for C# and VB.Net, the only but powerful way to get a feedback while coding is by using SonarLint for Visual Studio (http://www.sonarlint.org/visualstudio/index.html).

Exception report component for VisualStudio C++ and C#

I'm using madExcept component in Delphi to catch unmanaged exception and create a full report with email capability.
What component (paid or free) with same features exist for C++ and C# compatible with Visual Studio.
Mandatory features:
Full report creation
email capability
Minor customization
None to minor source code modification
You can use (commercial) SmartAssembly - it has several features (obfuscation, dependency merging...) and comes with a similar capability regarding error/exception reporting with eMail/SOAP etc.
You can use any feature without activating the other features (no source code modification necessary although it comes with an SDK for customization if need be)... BUT it works only with .NET - so if you are not using C++/CLI then this tool only covers the C# part of your question...
(not affiliated just a happy customer)
For Visual C++ try open source CrashRPT for Windows, if your app is written in Visual C++. Doesn't work with C#.
You can try EurekaLog .Net edition, which is equivalent to MadExcept for Delphi and has .Net version for Visual studio.

C# plugin for Eclipse

Is there a good working plugin for C# in Eclipse? I'm using a Linux machine so I do not have access to Visual Studio Express. I already have an Eclipse Environment working perfectly for my needs so I don't want to deal with multiple IDEs if at all possible. It doesn't need code complete but highlighting and compiling would be nice.
Emonic is an actual eclipse plugin for C#: http://emonic.sourceforge.net/.
Here's a handy guide for how to get it set up: http://www.ibm.com/developerworks/library/os-eclipse-migratenetvs/
Monodevelop is great, but won't meet your requirement not to have to work in multiple IDEs.
I'm not sure about eclipse, but MonoDevelop is cross platform.
http://monodevelop.com/
From:
http://www.mono-project.com/Mono_For_Linux_Developers#Eclipse_in_C.23_Mode
Black-Sun
Emonic
eSharp
I don't personally have any experience with the mentioned plugins. Any C# development I've done on Linux has been through MonoDevelop
From Eclipse marketplace:
aCute: C# edition in Eclipse IDE
aCute enables C# application development in the Eclipse IDE.
aCute provides a rich C# editor with error reporting, hover, content assist, jump to references... (using OmniSharp) and syntax highlighting (using TextMate grammar).
aCute also integrates various operations of the dotnet command-line (New, Run, Test, Publish) as typical Eclipse IDE wizards and workflows.
aCute provide supports debugging for .NET applications.

Categories