yes, I have a lot of * .targets file.
In particular one concerning my target project:
Nova.Model.csproj.nuget.g.targets
<?xml version="1.0" encoding="utf-8" standalone="no"?> $(MSBuildAllProjects);$(MSBuildThisFileFullPath)yes, I have a lot of * .targets file.
In particular one concerning my target project:
Nova.Model.csproj.nuget.g.targets
<?xml version="1.0" encoding="utf-8" standalone="no"?> $(MSBuildAllProjects);$(MSBuildThisFileFullPath)Thanks for the detailed logs.
According to the logs, the Sonar analyzers are being removed by the standard Microsoft target DisableAnalyzers
. My guess is that you are setting RunAnalyzersDuringBuild
or RunAnalyzers
to false
somewhere in your project/target files.
Try adding /p:RunAnalyzersDuringBuild=true
is the MSBuild Arguments
section of the Azure DevOps build step.
I love you
It work .
FYI there’s a ticket in the scanner backlog (#829) to look at handling this situation automatically.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.