Add project to Sonarqube via visual studio


(David) #1

Hi there

Sonarqube version : 7.1
Integration : Visual Studio 2017

Issue: I was following this guide to BIND my project to Sonarqube, but I don’t have a project in Sonarqube to BIND my project too. How do I add a project to Sonarqube using Visual Studio?

Can someone please help and share the details on how to do it.

Best regards

(Colin Mueller) #2


The only way to operate in connected mode is if you have a project on SonarQube to bind to, and that creation cannot happen through Visual Studio itself.

Depending on the permissions on your SonarQube instance, you may be able to get that project created from your first analysis of the source code (, or your instance may require that an administrator (or another user with the appropriate access) create the project (

Once the project is created, through either method, you can bind to that project using SonarLint and take advantage of connected mode.

I’d also make sure you’re looking at the latest documentation, but I’m unable to link to it as I’ve already included two links in this post. Google “sonarlint visual studio” and the first link will take you to the right place.


(David) #3

Hi Colin

I am so grateful that you responded. With your advice I was able to get it right.

Best regards

(Nicolas Bontoux) #4

Quick notes on this nice discussion.

Link for thread completeness:

Thanks for pointing this out. The restriction is currently a default one which applies to fresh new members. Once you reach basic level (simply a matter of visiting a few topics and reading content) then it’s waived. Will monitor in case it’s too impactful.

(David) #5

Thank you very much Nicolas.