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

Threat BC42376 as error on Peach #5437

Closed
pavel-mikula-sonarsource opened this issue Feb 25, 2022 · 3 comments
Closed

Threat BC42376 as error on Peach #5437

pavel-mikula-sonarsource opened this issue Feb 25, 2022 · 3 comments
Assignees
Labels
Type: Tooling Tools make us productive.

Comments

@pavel-mikula-sonarsource
Copy link
Contributor

pavel-mikula-sonarsource commented Feb 25, 2022

As pointed out in #5436, BC42376 has fallen through our safety net.

We should fail, just like for AD0001;CS8032

vbc : warning BC42376: An instance of analyzer SonarAnalyzer.Rules.VisualBasic.SymbolicExecutionRunner cannot be created from {my project}\packages\SonarAnalyzer.VisualBasic.8.36.0.43782\analyzers\SonarAnalyzer.VisualBasic.dll : Could not load file or assembly 'SonarAnalyzer.CFG, Version=8.36.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244' or one of its dependencies. The system cannot find the file specified..
@pavel-mikula-sonarsource
Copy link
Contributor Author

pavel-mikula-sonarsource commented Feb 25, 2022

This issue doesn't demonstrate itself on Peach, because VB.NET analysis gets the CFG from C# DLLs due to the weird S4NET behavior.
We should still update the peach build, in case we're not that lucky next time.

@mary-georgiou-sonarsource
Copy link
Contributor

mary-georgiou-sonarsource commented Feb 28, 2022

related PR on peachee-languages

@pavel-mikula-sonarsource
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Tooling Tools make us productive.
Projects
None yet
Development

No branches or pull requests

2 participants