Skip to content

CLI: support NuGet dependencies so components can use ShellIcons #30

Open

Description

@Shewart

Summary

Some components need a NuGet package: qr-code needs a QR library, and icons should come from ShellIcons.Maui / ShellIcons.Avalonia instead of the built-in Icon.cs set (which is missing common icons such as Receipt, ListChecks and CalendarClock). The CLI can't add package references yet.

Proposal

Let a template declare NuGet dependencies (id and version), and have add and update add the PackageReference when it's missing (without downgrading an existing higher version). Then:

  1. move icon to ShellIcons (keeping the current Kind names working or mapping them), and
  2. add qr-code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions