In our solution we have 3 projects(1 contains vb.net framework 4.8 project and 2 others c# projects)
We used the below build.yml, and we got a results that the C# analysis happens but VB.NET analysis doesn’t.
What do we need to add in build.yml in order to make the VB.net also scan happens?
The command you recommend in the above guide for Net Framework (“SonarScanner.MSBuild.exe end”), does not exists in the folder installed by the command that I mentioned in build.yml earlier (" run: |
New-Item -Path ..sonar\scanner -ItemType Directory
dotnet tool update dotnet-sonarscanner --tool-path ..sonar\scanner")
Is there a command to install sonar cloud for Net Framework, to be able to utilize this command in GitHub yml?
You’re already using dotnet-sonarscanner begin and dotnet-sonarscanner end, so you can just refer to the .NET Framework Global Tool referenced in guide.
We are trying to use the dotnet framework command, that’s why the global sonar cloud command is not working. can we install the dotnet framework version in git actions?
I’m not sure what you mean – don’t you already have a working scan with the build.yaml file you shared, but the issue is that VB.NET is not analyzed as a part of it?
Yes we already have a working scan with build.yaml file that we shared, but the issue is that VB NET is not analyzed, so what we need to change in order to make VB Net scan happens?