MAbdelaal327313 (Community Member) asked a question.

Error Method not found when scanning a file

I'm trying to scan a file using Veracode Greenlight in Visual Studio

I confirmed that the package "System.Collections.Immutable" in the error msg is installed. My solution isn't throwing any errors, I only get this error when trying to scan with Veracode.

 

Error Message:

Veracode scan failed. Method not found: 'System.Collections.Immutable.IImmutableSet`1<Microsoft.CodeAnalysis.ProjectId> Microsoft.CodeAnalysis.ProjectDependencyGraph.GetProjectsThatThisProjectDirectlyDependsOn(Microsoft.CodeAnalysis.ProjectId)'.


  • MAbdelaal327313 (Community Member)

    I did reinstall and the issue still exists.

    Greenlight version: 2.0.2410.182

    VS version: 15.7.6

  • Please send us the error log file.

     

        

    VS Greenlight log can be viewed by Selecting View -> Output menu option in Visual Studio IDE and selecting Veracode Greenlight from the drop down list.

     

    More information: 

    Open the Output pane by clicking View->Output in the menu bar. On most systems, Ctrl-Shift-O will be a shortcut for this action.

    Run one or more Greenlight scans to generate output. It should automatically switch to the Veracode Greenlight selection in the Output pane, but if it does not then you can select it manually from the drop-down.

    Select everything in that window (Ctrl-A) and then copy/paste it into a separate file or an email.

    Expand Post
  • MAbdelaal327313 (Community Member)

    [1:10:27 PM] - info - .NETVersion: 4.0.30319.42000, Is64BitOS: True, OSVersion: Microsoft Windows NT 10.0.16299.0, VSGLPluginVersion: 2.0.2410.182, IDEVersion: 15.0 Professional

    [1:10:27 PM] - info - Opening the project...

    [1:10:28 PM] - error - Veracode scan failed. Method not found: 'System.Collections.Immutable.IImmutableSet`1<Microsoft.CodeAnalysis.ProjectId> Microsoft.CodeAnalysis.ProjectDependencyGraph.GetProjectsThatThisProjectDirectlyDependsOn(Microsoft.CodeAnalysis.ProjectId)'.

    [1:10:28 PM] - info - Build cleanup completed.

    [1:10:28 PM] - info - Scan job duration 1 Seconds.

    Expand Post
  • Please submit the support case with the complete scan log file and what project type are you using. We need to investigate deeper.

Topics (3)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.