Getting Duplicated Lines on New Code with two Projects in one Solution startup.cs

Since moving to SonarCloud we are now seeing Failed Conditions, Duplicated Lines on New Code for a Solution with two projects on the startup.cs files.

Hi @anielson, could you tell us more about it:

  1. Moving from were (there is a change)? When this change happened?
  2. What are the failed conditions?
  3. Is your project public so you can provide us with the link for it?
  4. If not, can you provide an analysis id for a task that generate the undesired results you are talking about, so we can have a deeper look into it?

We worked it out. The devs had to clean up unneeded lines in their code.