Skip to content

PM UI: IProjectContextInfo.GetInstalledPackagesAsync(...) should not return IEnumerable<T> #9936

Closed

Description

@dtivel

Following RPC best practices, IProjectContextInfo.GetInstalledPackagesAsync(...) should return IReadOnlyCollection<IPackageReferenceContextInfo> instead of IEnumerable<IPackageReferenceContextInfo>.

CC @sbanni

Activity

  1. aortiz-msft commented on Aug 24, 2020

    @aortiz-msft
    Contributor
  2. zivkan commented on Aug 25, 2020

    @zivkan
    Member

    I didn't find IProjectContextInfo in a quick search of a dev branch, so my guess is that this is in the VS.OE feature branch only. Since it's not part of a shipped NuGet SDK (and chances are I'm guessing it will be part of the NuGet VS code, not part of the NuGet SDK), it's not a breaking change, so go for it.

  3. added
    Priority:2
    on Aug 27, 2020
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

    Priority:2Type:Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions