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

Could not execute .NET AssemblyAnalyzer on Azure DevOps after upgrading to Version 7.1.1 #106

Open
PascalTurbo opened this issue Jul 26, 2022 · 0 comments

Comments

@PascalTurbo
Copy link

I'm using the latest version of the Azure DevOps Plugin (6.0.0.4). After upgrading DependencyCheck from 6.5.3 to 7.1.1 I get the following error

[WARN] An error occurred with the .NET AssemblyAnalyzer, please see the log for more details.
[ERROR] Exception occurred initializing Assembly Analyzer.
[ERROR] Could not execute .NET AssemblyAnalyzer

When executing the command on the host directly, it works without errors. I also checked the .net Version in build context but it equals the version set by "--dotnet".

/opt/build-agent/_work/_tasks/dependency-check-build-task_47ea1f4a-57ba-414a-b12e-c44f42765e72/6.0.4/dependency-check/bin/dependency-check.sh --project MyProject --scan /opt/build-agent/_work/120/s/**/* --out /opt/build-agent/_work/120/s/dependency-check/ --format JUNIT --format HTML --format JSON --disableYarnAudit --disablePnpmAudit --cveUrlBase=http://192.168.1.25/nvdcve-1.1-%d.json.gz --cveUrlModified=http://192.168.1.25/nvdcve-1.1-modified.json.gz --dotnet /usr/bin/dotnet

I double checked the behavior by moving back to 6.5.3 and deleting all the caches - with 6.5.3 it runs smoothly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant