I am using the VSTS/Azure DevOps tasks to scan our applications. I am able to successfully scan .NET Framework apps, but am unable to scan .NET Core applications. It looks to me like it is using the .NET framework scanner (not dot net core) and I get an error during the Run Code Analysis step.
SonarScanner for MSBuild 4.5
Using the .NET Framework version of the Scanner for MSBuild
##[error]No analysable projects were found. SonarQube analysis will not be performed. Check the build summary report for details.
Based on the documentation I’ve read so far it should be invoking the dotnet runtime and a DLL, but the logs indicate its running an exe and looking for the non-core version of .NET.
SQ 6.7.1 server, Scanner MSBuild 4.5.1 (I think?), VSTS build tasks
Running the scan on a Windows PC with .NET Core SDK 2.2 installed
Scanning the .csproj file for the web application