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

Unable to import .NET .csproj files given Directory.Build.props and Snyk Preview enabled #229

Open
CezaryKlus opened this issue Nov 14, 2024 · 0 comments

Comments

@CezaryKlus
Copy link

Hi, I am trying to import an Azure Repos based target containing a .NET solution.

  • I am centralizing project properties in Directory.Build.props.
  • I am having TargetFramework element in Directory.Build.props.
  • I enabled the Enable Improved .NET Scanning in Snyk Preview

None of the CSPROJ projects are being imported. The import CLI tool shows the following error for CSPROJ files:

 snyk:import-projects-script   success: false,
 snyk:import-projects-script   userMessage: 'Payload missing required elements',

Any idea whether this new beta feature really works? If so how to deal with this issue?

#103

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