Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET Assembly Analyzer could not be initialized #152

Closed
himnsuk opened this issue Nov 30, 2020 · 2 comments
Closed

.NET Assembly Analyzer could not be initialized #152

himnsuk opened this issue Nov 30, 2020 · 2 comments
Labels

Comments

@himnsuk
Copy link

himnsuk commented Nov 30, 2020

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

@albuch
Copy link
Owner

albuch commented Dec 1, 2020

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

@himnsuk
Copy link
Author

himnsuk commented Dec 3, 2020

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!

@himnsuk himnsuk closed this as completed Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants