.NET Core Scanner Hanging


(Rob Gardner) #1

Hi,

I’m running the .net core scanner on a .net Standard 2 project. The scanner was hanging (waited over an hour and it’s only a small solution), and I have narrowed it down to a single file. It’s an Entity Framework migrations file and is about 1MB and 15K LOC. I tried to exclude this using sonar.exclusions but it still hangs. So I have two questions:

  1. Should the file with 15K lines of code cause the scanner a problem and cause it to hang?
  2. Does sonar.exclusions only apply to post processing i.e. sonarscanner end?

Thanks

Rob