.net Core and Visualstudio online pipeline sonarqube extension


(joris mathijssen) #1

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    Im using the Visual Studio Online Extension of sonarqube (4.3.2) https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarqube
  • what are you trying to achieve
    After a .net core 2.4.1 build i want to publish the quality gate results
  • what have you tried so far to achieve this
    I received a error about project guids. I added these to the .csproj files. After this the pipeline works.

My question is if the sollution is correct? I read that guids are not default in .net core so is it weird that i manually added them?

(Amaury Levé) #2

Hi @night4fun,

We currently need a GUID as a unique identifier for SonarQube/SonarCloud so you can either add it directly to your projects or if your projects are part of a solution we will take the GUID from the sln.

I hope I have answered your question.


(joris mathijssen) #3

You definitely did! Thanks! :slight_smile: