Integrate StyleCops with SonarQube and display the results in SonarQube dashboard - c#

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

Related

sonar analysis for .net core project

Hi all am using sonarqube v5.6.6
plugins:
Sonarqube v5.6.6
sonar fxcop plugin v1.0
Sonar c# v6.0
I am trying to do sonar analysis for .Net core(v1.1) project(c# language) build using VS2017 community edition. i searched in net regarding this issue & got few links like link1, link2, link3 of stackoverflow but all points the sonar
JIRATkt167 and its states that closed but still i didn't get any idea for how to run the sonar anlysis for .Net core project.
So please suggest me any documents or video to run same.
Please feel free to ask if you need any further details. sample code(which i used to do sonar analysis).
Sorry its a false alarm i didn't get the point in the JIRATkt167 they have moved the issue to new tkt JIRAtkt310 & this new tkt is still open & still the issue is not resolved.
Thanks & Regards
Vival

how to generate .xap file using Visual Studio Team Services and how to automate the build generation process

I want to automate the bulid generation process(.xap or .appx). I have come across Visual Studio Team Services (was Visual Studio Online) and found that we can do that.
I am facing two problems.
How to add my existing github repositories to my vs online server.
How to generate the .xap file and where can i find that file (if it is generated).
Please help me with this. Thanks in advance.
You can use the build system in Visual Studio Team Services (formerly VSO) to build code from GitHub. Here is a tutorial and connecting your GitHub account to Team Services.
https://msdn.microsoft.com/library/vs/alm/build/define/repository#GitHub
Then you can create a build definition:
https://msdn.microsoft.com/library/vs/alm/build/vs/define-build

SonarQube plugin development-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/

Setting up Qyoto in Visual Studio

I’m trying to develop an application using Qyoto with Visual Studio,but I’m having trouble setting up the IDE.I have downloaded the binary package for windows, but I could not find any documents on how to setup the IDE(Visual Studio / Mono Develop) to use qyoto.
Any links or tutorials would be appreciated.
There exists an example (not checked out by me). A couple of dlls were integrated within his/her solution.
integrating dlls
Bitbucket example

Visual Studio Vs Visual Web Developer

I am trying to write a web application using ASP.NET MVC. I prefer C# as the programming language.
Which IDE is better to use for this purpose? Visual Studio or Visual Web Developer?
What are the features of the IDEs? What are the benefits of using one over the other?
Thanks in advance.
As far as I understand, Visual Web Developer (VWD) is simply a free version of the Visual Studio components necessary to develop web based solutions.
Here is a list of features missing from VWD that you get in a Professional edition of Visual Studio 2008 (VS2008). In short, VWD Express 2005
is Not Extensibile with other add-ons or third party tools
Only supports Web site projects (2005). You cannot add a Class
Library project or a Web Controls
Library project to the solution.
UPDATED - VWD 2008 SP1 also allows Web Application and Class Library Projects in the solution.
Lacks the ability to combine Source Code Control
has no Accessibility checker
Lacks ability for automatic generation of resources for
localization
Cannot attach debugger to a process
has no Native code debugging
The obvious advantage of VWD over VS2008 is that it is free and if you can work smart with it given the missing features, it may be the more pragmatic option for you. If those are features that you can't live without, VS2008 may be a wise investment - you also get all of the features missing from other Express products (Visual Basic 2008, Visual C# 2008, etc).
Take a look at MSDN's comparison chart for Visual Studio 2005. I can't find 2008's but would suspect it to be very similar.
Visual Studio will allow you to integerate with Source control and attached debugging to IIS processes.
As a lone developer knocking up some pure ASP.NET-MVC application then Web Developer would do, for serious work you really need studio.
I think you also lack the ability to publish a site without visual studio, you can certainly run a website, but it won't build the binaries for release, with web developer you have to publish the source to iis.

Categories