albuch / sbt-dependency-check

SBT Plugin for OWASP DependencyCheck. Monitor your dependencies and report if there are any publicly known vulnerabilities (e.g. CVEs). :rainbow:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.NET Assembly Analyzer could not be initialized

himnsuk opened this issue · comments

I am getting below error when running on jenkins

`[pool-11-thread-6] ERROR org.owasp.dependencycheck.analyzer.AssemblyAnalyzer - ----------------------------------------------------

[pool-11-thread-6] ERROR org.owasp.dependencycheck.analyzer.AssemblyAnalyzer - .NET Assembly Analyzer could not be initialized and at least one 'exe' or 'dll' was scanned. The 'dotnet' executable could not be found on the path; either disable the Assembly Analyzer or add the path to dotnet core in the configuration.
[pool-11-thread-6] ERROR org.owasp.dependencycheck.analyzer.AssemblyAnalyzer - ----------------------------------------------------`

how can i fix this

You can set dependencyCheckAssemblyAnalyzerEnabled := Option(False) in your build.sbt to deactivate the Analyzer. You can find all available settings in the projects README.

You can set dependencyCheckAssemblyAnalyzerEnabled := Option(False) in your build.sbt to deactivate the Analyzer. You can find all available settings in the projects README.

Thanks it worked!