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

C#/NuGet: No projects found for solution #503

Open
RobinDinkel opened this issue Nov 22, 2024 · 1 comment
Open

C#/NuGet: No projects found for solution #503

RobinDinkel opened this issue Nov 22, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@RobinDinkel
Copy link

Describe the bug
When I use the plugin to scan my C#/NuGet project I receive the following errors:

Error: No projects found for solution ".sln".
[ERR - 2:50:52 PM] Failed to scan NuGet project. Hint: Please make sure the commands 'dotnet restore' or 'nuget restore' run successfully for '.sln'
[ERR - 2:50:52 PM] Workspace '' scan on file '.sln' ended with error:
Error: Project with descriptor file .sln has error [Not Installed]

Dotnet restore does run successfully.

To Reproduce
Open a C#/NuGet project in VS Code and run the scan.

Expected behavior
Dependencies are scanned, vulnerabilities are show.

Versions

  • JFrog VS-Code extension version: 2.12.0
  • JFrog VS-Code extension operating system: Windows & Ubunto 20.04 (WSL)
  • JFrog Xray Version: 3.88.12

Additional context
The same project can be scanned in Visual Studio with the JFrog extension and returns the dependencies & vulnerabilities.

@RobinDinkel RobinDinkel added the bug Something isn't working label Nov 22, 2024
@hadarshjfrog
Copy link
Collaborator

Hi @RobinDinkel - thank you for reporting.

Were you able to build/run the project in this folder? (the VSC extension needs a dir with a working project in order to scan properly).

I do see you have this error: Error: Project with descriptor file .sln has error [Not Installed] Could you share logs with DEBUG mode in the extension settings?

Also - in order to escalate support issues - you can use the client portal via https://jfrog.com/support/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants