dependabot / dependabot/dependabot-core

[.NET|NuGet] Add support for `PackageDownload`

Open Beginner friendly
#2,920 7 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

L: dotnet:nuget T: feature-request Workaround :repeat:
Dominant language
Ruby
Stars
5.8k
Forks
1.5k
Avg merge
2d 13h
Merged PRs (30d)
151

Description

Hi,

It seems that Dependabot currently ignores PackageDownload in csproj files. You can find a sample csproj here.

I'm still fairly new to Dependabot and was just quickly browsing this repository. Would it be sufficient to add PackageDownload in the same way as PackageReference to project_file_declaration_finder.rb?

Thanks.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in nuget/lib/dependabot/nuget/file_updater/project_file_declaration_finder.rb and compare how PackageReference declarations are handled. Check the linked sample _build.csproj to understand PackageDownload syntax; done means Dependabot discovers and updates those declarations while existing NuGet checks continue to pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.