When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.
More information
Hello @CLavoie320462 (Community Member) ,
Thank you for reaching out to the Community.
Are you still receiving same error?
Please send us the Greenlight log file.
Also, send us the screenshot of the error.
Retrieve Greenlight error log file
Please send me the Greenlight log that you can retrieve doing the below steps:
1) Open the Output window (if it's not opened yet) doing on View > Output.
2) On "Show Output from:" select Veracode Greenlight.
3) Click inside the log panel, do Ctrl + A to select all, Ctrl + C to copy the content and paste in a .txt file.
Thank you,
Steven
Veracode Support Engineer
Hi, Did we get a resolution to the problem? A developer is experiencing the same issue.
Hello,
I am facing the same error
here the logs
[4:09:26 PM] - info - .NETVersion: 4.0.30319.42000, Is64BitOS: True, OSVersion: Microsoft Windows NT 10.0.19043.0, VSGLPluginVersion: 2.1.4674.294, IDEVersion: 14.0 Enterprise
[4:09:26 PM] - error - Select a solution source file or folder to scan and try again.
[4:12:57 PM] - info - Communicating with the Veracode Greenlight service.
[4:12:58 PM] - error - You are not authorized to use Greenlight. Contact your Veracode account manager.
[4:13:48 PM] - info - Communicating with the Veracode Greenlight service.
[4:13:49 PM] - error - You are not authorized to use Greenlight. Contact your Veracode account manager.
[4:13:59 PM] - info - .NETVersion: 4.0.30319.42000, Is64BitOS: True, OSVersion: Microsoft Windows NT 10.0.19043.0, VSGLPluginVersion: 2.1.4674.294, IDEVersion: 14.0 Enterprise
[4:13:59 PM] - error - Select a solution source file or folder to scan and try again.
[4:14:58 PM] - info - .NETVersion: 4.0.30319.42000, Is64BitOS: True, OSVersion: Microsoft Windows NT 10.0.19043.0, VSGLPluginVersion: 2.1.4674.294, IDEVersion: 14.0 Enterprise
[4:14:58 PM] - error - Veracode Greenlight does not support the selected project type. Select csproj or vbproj to start a scan.
[4:18:16 PM] - info - .NETVersion: 4.0.30319.42000, Is64BitOS: True, OSVersion: Microsoft Windows NT 10.0.19043.0, VSGLPluginVersion: 2.1.4674.294, IDEVersion: 14.0 Enterprise
[4:18:16 PM] - error - Veracode Greenlight does not support the selected project type. Select csproj or vbproj to start a scan.
Hello @AClaure044938 (Community Member) ,
After reviewing this error in the log you provided. it appears that either the Greenlight Subscription has expired or their isn't a Greenlight Subscription.
Please confirm that these 2 either subscriptions are valid, or reach out either your Veracode CSM or Sale Lead.
Best regards,
Steven
Veracode Support Engineer
Now I have a valid subscription and still getting the below error:
[5:31:42 PM] - info - .NETVersion: 4.0.30319.42000, Is64BitOS: True, OSVersion: Microsoft Windows NT 10.0.19043.0, VSGLPluginVersion: 2.1.4674.294, IDEVersion: 14.0 Enterprise
[5:31:42 PM] - error - Veracode Greenlight does not support the selected project type. Select csproj or vbproj to start a scan.
Hi @AClaure120432 (Community Member) ,
Can you refresh my memory on what project type and versions you are using with Greenlight?
Thank you,
Steven
Veracode Support Engineer
We are with project type .net framework 4.8
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<SchemaVersion>2.0</SchemaVersion>
Hello @AClaure120432 (Community Member) ,
Technical Requirements for Visual Studio Greenlight
Veracode Greenlight for Visual Studio performs security scans at the file level.
You must meet these requirements when using Greenlight for Visual Studio:
C/C++ files are not supported.
If you feel you fit these requirements, I would suggest opening a support ticket to further investigate this issue.
You can log a case:
Once you have a ticket number, please let me know and I can follow up afterward.